]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-menu-map-filter): Use vc-call and reindent.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 21 Aug 2007 15:10:55 +0000 (15:10 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 21 Aug 2007 15:10:55 +0000 (15:10 +0000)
lisp/vc-hooks.el

index 62719124fd97fada0e6cfd0b5e9f499bc5a0af6e..c206d5e953c73486565bd026bdcf2301a158a407 100644 (file)
@@ -964,14 +964,14 @@ Used in `find-file-not-found-functions'."
   (if (and (symbolp orig-binding) (fboundp orig-binding))
       (setq orig-binding (indirect-function orig-binding)))
   (let ((ext-binding
-   (if vc-mode (vc-call-backend (vc-backend buffer-file-name) 'extra-menu))))
+         (if vc-mode (vc-call extra-menu buffer-file-name))))
     ;; Give the VC backend a chance to add menu entries
     ;; specific for that backend.
     (if (null ext-binding)
-    orig-binding
+        orig-binding
       (append orig-binding
              '((ext-menu-separator "---"))
-                   ext-binding))))
+              ext-binding))))
 
 (defun vc-default-extra-menu (backend)
   nil)