diff lisp/vc-hooks.el @ 82771:724c9aa26829

(vc-menu-map-filter): Reapply 2007-08-06 bugfix.
author Jason Rumney <jasonr@gnu.org>
date Wed, 22 Aug 2007 22:39:10 +0000
parents 5c15d3c510b1
children ea5864b698fd
line wrap: on
line diff
--- a/lisp/vc-hooks.el	Wed Aug 22 22:28:01 2007 +0000
+++ b/lisp/vc-hooks.el	Wed Aug 22 22:39:10 2007 +0000
@@ -964,7 +964,8 @@
   (if (and (symbolp orig-binding) (fboundp orig-binding))
       (setq orig-binding (indirect-function 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)