summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-07-22 15:45:40 +0300
committerEli Zaretskii <eliz@gnu.org>2023-07-22 15:45:40 +0300
commit12ab82d3b358fa72dc4705cb6ff7ce0523968200 (patch)
tree7ad97fc31cb266d254c7ac1b1fa6f2cb17406572
parentd149a4dc428b108232789594132a80d1ab27a33e (diff)
downloademacs-12ab82d3b358fa72dc4705cb6ff7ce0523968200.tar.gz
; 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)
-rw-r--r--lisp/bookmark.el6
1 files 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