]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 15 Jun 2011 18:40:00 +0000 (14:40 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 15 Jun 2011 18:40:00 +0000 (14:40 -0400)
lisp/ChangeLog
lisp/pcmpl-rpm.el

index f9705822a1e33961524c939948b557afd8aedbee..3ee020f33c55e04cf44569e1cb3cb3bdd0cedff0 100644 (file)
@@ -1,5 +1,7 @@
 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * 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.
index 475215b162257d5257a73f31b875f8f051d0808d..716b0a59555e3e7ed4574a0d6fd8654a096c5de7 100644 (file)
          (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"))))))