Преглед изворни кода

Fix saveplace first load

master
10sr пре 6 година
родитељ
комит
656d9b08d5
1 измењених фајлова са 5 додато и 1 уклоњено
  1. +5
    -1
      emacs.el

+ 5
- 1
emacs.el Прегледај датотеку

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


;; save cursor position ;; save cursor position
(when (fboundp 'save-place-mode) (when (fboundp 'save-place-mode)
(autoload 'save-place-find-file-hook "saveplace")
(add-hook 'after-first-visit-hook (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 (set-variable 'save-place-file (concat user-emacs-directory
"places")) "places"))




Loading…
Откажи
Сачувај