From 12ab82d3b358fa72dc4705cb6ff7ce0523968200 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 22 Jul 2023 15:45:40 +0300 Subject: [PATCH] ; Fix customization form of 'bookmark-watch-bookmark-file' * lisp/bookmark.el (bookmark-watch-bookmark-file): Fix the doc string and the customization type. (Bug#64790) --- lisp/bookmark.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 026257ff758..10ff2f5ebbf 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -89,13 +89,15 @@ To specify the file in which to save them, modify the variable :type 'file) (defcustom bookmark-watch-bookmark-file t - "If non-nil watch the default bookmark file. + "If non-nil reload the default bookmark file if it was changed. If this file has changed on disk since it was last loaded, query the user whether to load it again. If the value is `silent' reload without querying. This file defaults to `bookmark-default-file'. But during an Emacs session, `bookmark-load' and `bookmark-save' can redefine the current default file." :version "27.1" - :type 'boolean + :type '(choice (const :tag "Suggest to reload bookmark file if changed" t) + (const :tag "Silently reload bookmark file if changed" silent) + (const :tag "Ignore changes of bookmark file" nil)) :group 'bookmark) (defcustom bookmark-version-control 'nospecial -- 2.39.2