Variable: locate-prompt-for-command
locate-prompt-for-command is a customizable variable defined in
locate.el.gz.
Value
nil
Documentation
If non-nil, the locate command prompts for a command to run.
Otherwise, that behavior is invoked via a prefix argument.
Setting this option non-nil actually inverts the meaning of a prefix arg; that is, with a prefix arg, you get the default behavior.
Source Code
;; Defined in /usr/src/emacs/lisp/locate.el.gz
(defcustom locate-prompt-for-command nil
"If non-nil, the `locate' command prompts for a command to run.
Otherwise, that behavior is invoked via a prefix argument.
Setting this option non-nil actually inverts the meaning of a prefix arg;
that is, with a prefix arg, you get the default behavior."
:group 'locate
:type 'boolean)