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:
parent
a5b115873d
commit
dca921f5a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue