Skip to content

Commit

Permalink
fix(saveplace): enable at init to work with files passed as args
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Dec 19, 2023
1 parent 1d7aeb7 commit b91c3cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/me-builtin.el
Original file line number Diff line number Diff line change
Expand Up @@ -1396,8 +1396,9 @@ current line.")
(savehist-file (concat minemacs-local-dir "savehist.el")))

(use-package saveplace
:init
;; Save place in files
:hook (minemacs-after-startup . save-place-mode)
(save-place-mode 1)
:custom
(save-place-file (concat minemacs-local-dir "save-place.el")))

Expand Down

0 comments on commit b91c3cc

Please sign in to comment.