emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r104596: * lisp/pcmpl-rpm.el (pcomple


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104596: * lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
Date: Wed, 15 Jun 2011 14:40:00 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104596
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Wed 2011-06-15 14:40:00 -0400
message:
  * lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
modified:
  lisp/ChangeLog
  lisp/pcmpl-rpm.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-06-15 18:39:04 +0000
+++ b/lisp/ChangeLog    2011-06-15 18:40:00 +0000
@@ -1,5 +1,7 @@
 2011-06-15  Stefan Monnier  <address@hidden>
 
+       * 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.

=== modified file 'lisp/pcmpl-rpm.el'
--- a/lisp/pcmpl-rpm.el 2011-01-25 04:08:28 +0000
+++ b/lisp/pcmpl-rpm.el 2011-06-15 18:40:00 +0000
@@ -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"))))))
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]