Variable: locate-make-command-line

locate-make-command-line is a customizable variable defined in locate.el.gz.

Value

locate-default-make-command-line

Documentation

Function used to create the locate command line.

The Emacs commands locate and locate-with-filter use this. This function should take one argument, a string (the name to find) and return a list of strings. The first element of the list should be the name of a command to be executed by a shell, the remaining elements should be the arguments to that command (including the name to find).

Source Code

;; Defined in /usr/src/emacs/lisp/locate.el.gz
(defcustom locate-make-command-line 'locate-default-make-command-line
  "Function used to create the locate command line.
The Emacs commands `locate' and `locate-with-filter' use this.
This function should take one argument, a string (the name to find)
and return a list of strings.  The first element of the list should be
the name of a command to be executed by a shell, the remaining elements
should be the arguments to that command (including the name to find)."
  :type 'function)