Variable: locate-update-when-revert
locate-update-when-revert is a customizable variable defined in
locate.el.gz.
Value
nil
Documentation
This option affects how the *Locate* buffer gets reverted.
If non-nil, offer to update the locate database when reverting that buffer.
(Normally, you need to have root privileges for this to work. See the
option locate-update-path.)
If nil, reverting does not update the locate database.
This variable was added, or its default value changed, in Emacs 22.1.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/locate.el.gz
(defcustom locate-update-when-revert nil
"This option affects how the *Locate* buffer gets reverted.
If non-nil, offer to update the locate database when reverting that buffer.
\(Normally, you need to have root privileges for this to work. See the
option `locate-update-path'.)
If nil, reverting does not update the locate database."
:type 'boolean
:group 'locate
:version "22.1")