[Bugfix] Enable save-place-mode correctly in Emacs >25.0
This commit is contained in:
parent
96493792a3
commit
84d3495ac3
@ -1102,8 +1102,10 @@ Because I’m a sysadmin, too.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
;; Save place
|
||||
(use-package saveplace
|
||||
:config
|
||||
(setq-default save-place t)
|
||||
:config'
|
||||
(if (version< emacs-version "25.0")
|
||||
(setq-default save-place t)
|
||||
(save-place-mode 1))
|
||||
(setq save-place-file (expand-file-name ".places" user-emacs-directory)))
|
||||
#+END_SRC
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user