Variable: bookmark-inhibit-context-functions

bookmark-inhibit-context-functions is a customizable variable defined in bookmark.el.gz.

Value

(auth-source-pass-file-name-p
 tramp-crypt-file-name-p
 auth-source-file-name-p
 epa-file-name-p)

Documentation

List of functions to call before making a bookmark record.

The functions take buffer-file-name(var)/buffer-file-name(fun) as argument. If any of these functions returns non-nil, the bookmark does not record context strings from the current buffer.

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

Probably introduced at or before Emacs version 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
(defcustom bookmark-inhibit-context-functions nil
  "List of functions to call before making a bookmark record.
The functions take `buffer-file-name' as argument.  If any of
these functions returns non-nil, the bookmark does not record
context strings from the current buffer."
  :type 'hook
  :version "29.1")