diff options
author | JSDurand <mmemmew@gmail.com> | 2023-06-18 00:16:18 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2023-06-18 00:16:18 +0800 |
commit | b8e849ed238573fc0943efdf394cb8fb55164ce8 (patch) | |
tree | b77737f642b7ec43267d00d8bcebc65f244cad1b /bookmark-conf.el | |
parent | c0af15279da1bc2e3e7b379027fb82d89e90842c (diff) |
desktop + bookmark: bind C-x r s to save desktop.
* bookmark-conf.el (ctl-x-r-map): Remove the original binding.
* desktop-conf.el (durand-desktop-save-a): Do not ask questions when
saving.
(ctl-x-r-map): Bind 'C-x r s' to save the desktop file, as well as
the bookmarks. Saving bookmarks does not run a hook, whereas saving
the desktop file runs a hook, so it is easier to call `desktop-save`
which also saves bookmarks than the other way around.
Diffstat (limited to 'bookmark-conf.el')
-rw-r--r-- | bookmark-conf.el | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bookmark-conf.el b/bookmark-conf.el index 6304927..074628f 100644 --- a/bookmark-conf.el +++ b/bookmark-conf.el @@ -44,12 +44,6 @@ (define-key ctl-x-r-map (vector ?l) #'blist-list-bookmarks) -;;; Add a binding for saving bookmarks - -;; This was used for `copy-to-register', but we can also use `C-x r -;; x'. -(define-key ctl-x-r-map (vector ?s) #'bookmark-save) - ;;; Customizations ;;;; No strange fringe indicators |