1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(menu-bar-vc-filter): Use vc-call-backend.

This commit is contained in:
Jason Rumney 2007-08-06 11:03:18 +00:00
parent a5b115873d
commit dca921f5a0

View 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)