10sr 7 mesi fa
parent
commit
4a61097cc2
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. +10
    -0
      emacs.el

+ 10
- 0
emacs.el Vedi File

@@ -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



Caricamento…
Annulla
Salva