Variable: pcmpl-rpm-query-options
pcmpl-rpm-query-options is a customizable variable defined in
pcmpl-rpm.el.gz.
Value
nil
Documentation
String, or list of strings, with extra options for an rpm query command.
This variable was added, or its default value changed, in Emacs 24.3.
Source Code
;; Defined in /usr/src/emacs/lisp/pcmpl-rpm.el.gz
;; rpm -qa can be slow. Adding --nodigest --nosignature is MUCH faster.
(defcustom pcmpl-rpm-query-options
(let (opts)
(with-temp-buffer
(when (ignore-errors (call-process "rpm" nil t nil "--help"))
(if (search-backward "--nodigest " nil 'move)
(setq opts '("--nodigest")))
(goto-char (point-min))
(if (search-forward "--nosignature " nil t)
(push "--nosignature" opts))))
opts)
"String, or list of strings, with extra options for an rpm query command."
:version "24.3"
:type '(choice (const :tag "No options" nil)
(string :tag "Single option")
(repeat :tag "List of options" string)))