Variable: filesets-commands
filesets-commands is a customizable variable defined in
filesets.el.gz.
Value
(("Isearch" multi-isearch-files
(filesets-cmd-isearch-getargs))
("Isearch (regexp)" multi-isearch-files-regexp
(filesets-cmd-isearch-getargs))
("Query Replace" perform-replace
(filesets-cmd-query-replace-getargs))
("Query Replace (regexp)" perform-replace
(filesets-cmd-query-replace-regexp-getargs))
("Grep <<selection>>" "grep"
("-n " filesets-get-quoted-selection " " "<<file-name>>"))
("Run Shell Command" filesets-cmd-shell-command
(filesets-cmd-shell-command-getargs)))
Documentation
Commands to run on filesets.
An association list of names, functions, and an argument list (or a function that returns one) to be run on a filesets' files.
The argument <file-name> or <<file-name>> (quoted) will be replaced with the filename.
Source Code
;; Defined in /usr/src/emacs/lisp/filesets.el.gz
(defcustom filesets-commands
'(("Isearch"
multi-isearch-files
(filesets-cmd-isearch-getargs))
("Isearch (regexp)"
multi-isearch-files-regexp
(filesets-cmd-isearch-getargs))
("Query Replace"
perform-replace
(filesets-cmd-query-replace-getargs))
("Query Replace (regexp)"
perform-replace
(filesets-cmd-query-replace-regexp-getargs))
("Grep <<selection>>"
"grep"
("-n " filesets-get-quoted-selection " " "<<file-name>>"))
("Run Shell Command"
filesets-cmd-shell-command
(filesets-cmd-shell-command-getargs)))
"Commands to run on filesets.
An association list of names, functions, and an argument list (or a
function that returns one) to be run on a filesets' files.
The argument <file-name> or <<file-name>> (quoted) will be replaced with
the filename."
:set #'filesets-set-default+
:type '(repeat :tag "Commands"
(list :tag "Definition" :value ("")
(string "Name")
(choice :tag "Command"
(string :tag "String")
(function :tag "Function"))
(repeat :tag "Argument List"
(choice :tag "Arguments"
(sexp :tag "Sexp"
:value nil)
(string :tag "File Name"
:value "<file-name>")
(string :tag "Quoted File Name"
:value "<<file-name>>")
(function :tag "Function"
:value nil))))))