Emacs: Set bookmark path and always save.
parent
20b1e6a36c
commit
4f80f66d3f
|
@ -62,6 +62,13 @@
|
||||||
ediff-window-setup-function 'ediff-setup-windows-plain
|
ediff-window-setup-function 'ediff-setup-windows-plain
|
||||||
ediff-split-window-function 'split-window-horizontally)
|
ediff-split-window-function 'split-window-horizontally)
|
||||||
|
|
||||||
|
;; Bookmarks
|
||||||
|
(setq bookmark-save-flag 1)
|
||||||
|
(let ((personal-bookmarks (expand-file-name "bookmarks/emacs-bookmarks.el"
|
||||||
|
(getenv "PERSONAL"))))
|
||||||
|
(when (file-exists-p personal-bookmarks)
|
||||||
|
(setq bookmark-default-file personal-bookmarks)))
|
||||||
|
|
||||||
;;; Remember last cursor position.
|
;;; Remember last cursor position.
|
||||||
(save-place-mode)
|
(save-place-mode)
|
||||||
;;; When the daemon is killed abruptly, places are not saved. Adding this hook
|
;;; When the daemon is killed abruptly, places are not saved. Adding this hook
|
||||||
|
|
Loading…
Reference in New Issue