Browse Source

Fix saveplace first load

master
10sr 4 years ago
parent
commit
656d9b08d5
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      emacs.el

+ 5
- 1
emacs.el View File

@@ -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…
Cancel
Save