From 9ffdd3baa7341f6726a79336534e1336c022e0f5 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 15 Jun 2011 14:40:00 -0400 Subject: [PATCH] * lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification. --- lisp/ChangeLog | 2 ++ lisp/pcmpl-rpm.el | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) 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")))))) -- 2.39.2