Skip to content

Commit cd4e686

Browse files
Borsodi, RegoBorsodi, Rego
authored andcommitted
Save bookmarks on exit.
1 parent dfaefab commit cd4e686

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lisp/init-utils.el

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@
6666
)
6767

6868

69+
;; ----------------------------------------------------------------------------
70+
;; Bookmarks
71+
;; ----------------------------------------------------------------------------
72+
73+
(use-package bookmark
74+
:ensure nil
75+
:config
76+
(add-hook 'delete-frame-functions (lambda (_) (bookmark-save)))
77+
)
78+
79+
6980
;; ----------------------------------------------------------------------------
7081
;; TRAMP - remote file editing
7182
;; ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)