]> git.eshelyaron.com Git - emacs.git/commitdiff
(menu-bar-vc-filter): Use vc-call-backend.
authorJason Rumney <jasonr@gnu.org>
Mon, 6 Aug 2007 11:03:18 +0000 (11:03 +0000)
committerJason Rumney <jasonr@gnu.org>
Mon, 6 Aug 2007 11:03:18 +0000 (11:03 +0000)
lisp/menu-bar.el

index 48f4613287b080819267be1ddf81233cb8cada9c..8bc0bd86a41d6d535b770f644059043c07b3c586 100644 (file)
@@ -1170,7 +1170,7 @@ mail status in mode line"))
 
 (defun menu-bar-vc-filter (orig-binding)
   (let ((ext-binding
-   (if vc-mode (vc-call 'extra-menu buffer-file-name))))
+   (if vc-mode (vc-call-backend (vc-backend buffer-file-name) 'extra-menu))))
     ;; Give the VC backend a chance to add menu entries
     ;; specific for that backend.
     (if (null ext-binding)