[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
|
#+BEGIN_SRC emacs-lisp
|
||||||
;; Save place
|
;; Save place
|
||||||
(use-package saveplace
|
(use-package saveplace
|
||||||
:config
|
:config'
|
||||||
|
(if (version< emacs-version "25.0")
|
||||||
(setq-default save-place t)
|
(setq-default save-place t)
|
||||||
|
(save-place-mode 1))
|
||||||
(setq save-place-file (expand-file-name ".places" user-emacs-directory)))
|
(setq save-place-file (expand-file-name ".places" user-emacs-directory)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user