diff --git a/.emacs.d/lisp/main.el b/.emacs.d/lisp/main.el index e7ed7a4e..84649788 100644 --- a/.emacs.d/lisp/main.el +++ b/.emacs.d/lisp/main.el @@ -62,6 +62,13 @@ ediff-window-setup-function 'ediff-setup-windows-plain 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. (save-place-mode) ;;; When the daemon is killed abruptly, places are not saved. Adding this hook