changeset 82292:7dbd61707d6c

(menu-bar-vc-filter): Use vc-call-backend.
author Jason Rumney <jasonr@gnu.org>
date Mon, 06 Aug 2007 11:03:18 +0000
parents edfa5c74f8fb
children 96cb0797d6c7
files lisp/menu-bar.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/menu-bar.el	Mon Aug 06 08:26:51 2007 +0000
+++ b/lisp/menu-bar.el	Mon Aug 06 11:03:18 2007 +0000
@@ -1170,7 +1170,7 @@
 
 (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)