Explorar el Código

Fix saveplace first load

master
10sr hace 4 años
padre
commit
656d9b08d5
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      emacs.el

+ 5
- 1
emacs.el Ver fichero

@@ -1052,8 +1052,12 @@ Otherwize hook it."

;; save cursor position
(when (fboundp 'save-place-mode)
(autoload 'save-place-find-file-hook "saveplace")
(add-hook 'after-first-visit-hook
'save-place-mode))
'save-place-mode)
(add-hook 'after-first-visit-hook
'save-place-find-file-hook
t))
(set-variable 'save-place-file (concat user-emacs-directory
"places"))



Cargando…
Cancelar
Guardar