Commit 9ffdd3ba authored by Stefan Monnier's avatar Stefan Monnier

* lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification.

parent cb581a67
2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
* pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
* emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
* abbrev.el (define-abbrev-table): Don't add a table multiple times.
......
......@@ -313,9 +313,9 @@
(if (pcomplete-match "^-" 0)
(pcomplete-opt "v")
(pcomplete-here
(if (eq mode 'test)
(pcomplete-dirs-or-entries "\\.tar\\'")
(pcomplete-dirs-or-entries "\\.spec\\'"))))))
(pcomplete-dirs-or-entries (if (eq mode 'test)
"\\.tar\\'"
"\\.spec\\'"))))))
(t
(error "You must select a mode: -q, -i, -U, --verify, etc"))))))
......
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