]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-menu-map-filter): Reapply 2007-08-06 bugfix.
authorJason Rumney <jasonr@gnu.org>
Wed, 22 Aug 2007 22:40:18 +0000 (22:40 +0000)
committerJason Rumney <jasonr@gnu.org>
Wed, 22 Aug 2007 22:40:18 +0000 (22:40 +0000)
lisp/ChangeLog
lisp/vc-hooks.el

index 2384df3600f17602d119a79c8386e4ff6b949b95..988963ac75d8df4baf9d8adca3219149813d115f 100644 (file)
@@ -1,3 +1,7 @@
+2007-08-22  Jason Rumney  <jasonr@gnu.org>
+
+       * vc-hooks.el (vc-menu-map-filter): Reapply 2007-08-06 bugfix.
+
 2007-08-22  Chong Yidong  <cyd@stupidchicken.com>
 
        * image-mode.el (image-minor-mode): Use image-mode-text-map.
index c206d5e953c73486565bd026bdcf2301a158a407..7e830d7d16835ae99ad3180186484ece11ff5ee4 100644 (file)
@@ -964,7 +964,8 @@ 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 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)