[Bugfix] Enable save-place-mode correctly in Emacs >25.0

This commit is contained in:
Gergely Polonkai 2018-08-06 08:26:37 +02:00
parent 96493792a3
commit 84d3495ac3

View File

@ -1102,8 +1102,10 @@ Because Im 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