]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix customization form of 'bookmark-watch-bookmark-file'
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Jul 2023 12:45:40 +0000 (15:45 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Jul 2023 12:45:40 +0000 (15:45 +0300)
* lisp/bookmark.el (bookmark-watch-bookmark-file): Fix the doc
string and the customization type.  (Bug#64790)

lisp/bookmark.el

index 026257ff758238fe66f8be2ffa55ce1660ff4d6e..10ff2f5ebbfd4604e636e7b2127bdfbc609a5db5 100644 (file)
@@ -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