diff options
author | 2022-11-13 16:58:03 -0800 | |
---|---|---|
committer | 2022-11-13 16:58:03 -0800 | |
commit | 0d1231487764621ac3eb9c3b794d947b49378844 (patch) | |
tree | 19993c5ab0073881b5da8aa4216a0507402243e9 /oni-bookmark.el | |
parent | 67c77bb2777e41a39be4f560283739a50689ef68 (diff) | |
download | emacs-config-0d1231487764621ac3eb9c3b794d947b49378844.tar.gz emacs-config-0d1231487764621ac3eb9c3b794d947b49378844.zip |
[oni-bookmark] Automatically save my bookmarks when I change them
Diffstat (limited to 'oni-bookmark.el')
-rw-r--r-- | oni-bookmark.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/oni-bookmark.el b/oni-bookmark.el index fbc150f..7c1faef 100644 --- a/oni-bookmark.el +++ b/oni-bookmark.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2021.0715.223038 +;; Version: 2022.1112.172428 ;; Package-Requires: (oni-data-dir) ;; This program is free software; you can redistribute it and/or modify @@ -32,6 +32,10 @@ (require 'bookmark) (require 'oni-data-dir) +;; Discovered through +;; https://github.com/novoid/dot-emacs/blob/23c28944f1991c636ea71ec7d5c3d266e6dbeb8a/config.org#bookmarks +(setq bookmark-save-flag 1) + (setq bookmark-default-file (oni-data-dir-locate "bookmarks")) (provide 'oni-bookmark) |