aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2011-06-15 14:40:00 -0400
committerStefan Monnier2011-06-15 14:40:00 -0400
commit9ffdd3baa7341f6726a79336534e1336c022e0f5 (patch)
tree8d610a8208a599213cbc8bcc93e470c3e93b3936 /lisp
parentcb581a672b346e4896b2dee85cb2e23dfa2bca24 (diff)
downloademacs-9ffdd3baa7341f6726a79336534e1336c022e0f5.tar.gz
emacs-9ffdd3baa7341f6726a79336534e1336c022e0f5.zip
* lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/pcmpl-rpm.el6
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 @@
12011-06-15 Stefan Monnier <monnier@iro.umontreal.ca> 12011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4
3 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger. 5 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4 6
5 * abbrev.el (define-abbrev-table): Don't add a table multiple times. 7 * 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 @@
313 (if (pcomplete-match "^-" 0) 313 (if (pcomplete-match "^-" 0)
314 (pcomplete-opt "v") 314 (pcomplete-opt "v")
315 (pcomplete-here 315 (pcomplete-here
316 (if (eq mode 'test) 316 (pcomplete-dirs-or-entries (if (eq mode 'test)
317 (pcomplete-dirs-or-entries "\\.tar\\'") 317 "\\.tar\\'"
318 (pcomplete-dirs-or-entries "\\.spec\\'")))))) 318 "\\.spec\\'"))))))
319 (t 319 (t
320 (error "You must select a mode: -q, -i, -U, --verify, etc")))))) 320 (error "You must select a mode: -q, -i, -U, --verify, etc"))))))
321 321