summaryrefslogtreecommitdiff
path: root/lisp/pcmpl-rpm.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2011-06-15 14:40:00 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2011-06-15 14:40:00 -0400
commitd6c3a8cb9c58cf457086c3ad5dfec09569f5598a (patch)
tree06c1ad4527edbb784dcc6a5a718e42cc666eebfa /lisp/pcmpl-rpm.el
parentc12c9c6fdb78c61a8256ddcf5960c981e553c9b9 (diff)
downloademacs-d6c3a8cb9c58cf457086c3ad5dfec09569f5598a.tar.gz
* lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
Diffstat (limited to 'lisp/pcmpl-rpm.el')
-rw-r--r--lisp/pcmpl-rpm.el6
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"))))))