From: Eli Zaretskii Date: Sat, 22 Jul 2023 12:45:40 +0000 (+0300) Subject: ; Fix customization form of 'bookmark-watch-bookmark-file' X-Git-Tag: emacs-29.1-rc1~8 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=12ab82d3b35;p=emacs.git ; 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) --- 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