summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-06-19 01:43:50 +0800
committerJSDurand <mmemmew@gmail.com>2023-06-19 01:43:50 +0800
commit65db3d46ee23f6b17d899d9fefcb41dd0471b4bc (patch)
treec474e86960497343e330cd223d6262671c9e14c3
parent409afb58f365d609c80c598a5de687213c027065 (diff)
desktop: inhibit message when saving bookmarks
* desktop-conf.el (desktop-also-save-bookmarks): Inhibit message when saving bookmarks as a consequence of saving the desktop file.
-rw-r--r--desktop-conf.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-conf.el b/desktop-conf.el
index 074aad0..be3ea52 100644
--- a/desktop-conf.el
+++ b/desktop-conf.el
@@ -206,7 +206,7 @@ no questions asked."
"Save bookmarks if we are not already saving bookmarks."
(cond
((and (functionp #'bookmark-save) (not durand-saving-bookmarks))
- (bookmark-save))))
+ (let ((inhibit-message t)) (bookmark-save)))))
(add-hook 'desktop-save-hook #'desktop-also-save-bookmarks)