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