1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Suppress a compilation warning about vc-switch-backend

* lisp/vc/vc-hooks.el (vc-prefix-map): Suppress a warning about an
obsolete command.
This commit is contained in:
Lars Ingebrigtsen 2021-11-08 00:26:32 +01:00
parent 4268d9a2b6
commit 52379a44cb

View file

@ -864,7 +864,8 @@ In the latter case, VC mode is deactivated for this buffer."
(defvar vc-prefix-map
(let ((map (make-sparse-keymap)))
(define-key map "a" #'vc-update-change-log)
(define-key map "b" #'vc-switch-backend)
(with-suppressed-warnings ((obsolete vc-switch-backend))
(define-key map "b" #'vc-switch-backend))
(define-key map "d" #'vc-dir)
(define-key map "g" #'vc-annotate)
(define-key map "G" #'vc-ignore)