Commit 1258fede authored by Chong Yidong's avatar Chong Yidong
Browse files

(pcomplete/rpm): Make "rpm -qp" use file completion.

parent 84353206
......@@ -135,7 +135,9 @@ You can use \\[report-emacs-bug] to do so."
(pcmpl-rpm-all-query "--requires")))))
(if (pcomplete-match "^-" 0)
(pcomplete-opt "af.p(pcmpl-rpm-files)ilsdcvR")
(pcomplete-here (pcmpl-rpm-packages)))))
(if (pcomplete-test "-[^-]*p" 'first 1)
(pcomplete-here (pcmpl-rpm-files))
(pcomplete-here (pcmpl-rpm-packages))))))
((pcomplete-test "--pipe")
(pcomplete-here* (funcall pcomplete-command-completion-function)))
((pcomplete-test "--rmsource")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment