From: Stefan Monnier Date: Wed, 15 Jun 2011 18:40:00 +0000 (-0400) Subject: * lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification. X-Git-Tag: emacs-pretest-24.0.90~104^2~551 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9ffdd3baa7341f6726a79336534e1336c022e0f5;p=emacs.git * lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f9705822a1e..3ee020f33c5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2011-06-15 Stefan Monnier + * 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. 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"))))))