diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-06-15 14:40:00 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-06-15 14:40:00 -0400 |
commit | d6c3a8cb9c58cf457086c3ad5dfec09569f5598a (patch) | |
tree | 06c1ad4527edbb784dcc6a5a718e42cc666eebfa /lisp/pcmpl-rpm.el | |
parent | c12c9c6fdb78c61a8256ddcf5960c981e553c9b9 (diff) | |
download | emacs-d6c3a8cb9c58cf457086c3ad5dfec09569f5598a.tar.gz |
* lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
Diffstat (limited to 'lisp/pcmpl-rpm.el')
-rw-r--r-- | lisp/pcmpl-rpm.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/pcmpl-rpm.el b/lisp/pcmpl-rpm.el index 475215b1622..716b0a59555 100644 --- a/lisp/pcmpl-rpm.el +++ b/lisp/pcmpl-rpm.el @@ -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")))))) |