Variable: bookmark-watch-bookmark-file

bookmark-watch-bookmark-file is a customizable variable defined in bookmark.el.gz.

Value

t

Documentation

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.

This variable was added, or its default value changed, in Emacs 27.1.

Probably introduced at or before Emacs version 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
(defcustom bookmark-watch-bookmark-file t
  "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 '(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)