changeset 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 641f5b9362be
children da6db120aa90
files lisp/vc-hooks.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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)