Add comments to base-functions.el.
This commit is contained in:
parent
aced36ad35
commit
38b36468f8
@ -1,4 +1,11 @@
|
||||
(provide 'base-functions)
|
||||
;;; base-functions.el --- Configuración de org-mode
|
||||
|
||||
;; Author: kj <webmaster@outcontrol.net>
|
||||
;; URL: https://git.kj2.me/kj/confi-emacs-actual
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
;; Buscar el texto actualmente seleccionado
|
||||
(defun kj-isearch-with-region ()
|
||||
@ -17,7 +24,7 @@
|
||||
|
||||
;; Generar archivo TAGS
|
||||
(defun create-tags (dir-name)
|
||||
"Create tags file."
|
||||
"Create tags file in DIR-NAME."
|
||||
(interactive "DDirectory: ")
|
||||
(shell-command
|
||||
(format "cd '%s' && ctags -f TAGS -e -R --exclude=*.min.js"
|
||||
@ -29,6 +36,7 @@
|
||||
|
||||
;; Hacer emacs transparente (no funciona perfecto, pero sirve)
|
||||
(defun toggle-transparency ()
|
||||
"Cambia la transparencia de Emacs (es un poco useless)."
|
||||
(interactive)
|
||||
(let ((alpha (frame-parameter nil 'alpha)))
|
||||
(set-frame-parameter
|
||||
@ -41,6 +49,9 @@
|
||||
'(60 . 60) '(100 . 100)))))
|
||||
|
||||
(defun transparency (value)
|
||||
"Sets the transparency of the frame window. 0=transparent/100=opaque"
|
||||
"Set the transparency VALUE of the frame window. 0=transparent/100=opaque."
|
||||
(interactive "nTransparency Value 0 - 100 opaque:")
|
||||
(set-frame-parameter (selected-frame) 'alpha value))
|
||||
|
||||
(provide 'base-functions)
|
||||
;;; base-functions.el ends here.
|
||||
|
Loading…
Reference in New Issue
Block a user