10sr hace 1 mes
padre
commit
4a61097cc2
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  1. +10
    -0
      emacs.el

+ 10
- 0
emacs.el Ver fichero

@@ -630,6 +630,16 @@ THEM are function and its args."
(setq-default fill-column 80)
;; (add-hook 'text-mode-hook 'turn-on-auto-fill)


;; kill ring
(defun my-kill-ring-save-buffer-file-name ()
"Save current buffer file name to kill ring."
(interactive)
(let* ((str (or buffer-file-name
default-directory))
(str (expand-file-name str)))
(kill-new str)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; title and mode-line



Cargando…
Cancelar
Guardar