projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4268d9a
)
Suppress a compilation warning about vc-switch-backend
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 7 Nov 2021 23:26:32 +0000
(
00:26
+0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 7 Nov 2021 23:26:32 +0000
(
00:26
+0100)
* lisp/vc/vc-hooks.el (vc-prefix-map): Suppress a warning about an
obsolete command.
lisp/vc/vc-hooks.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-hooks.el
b/lisp/vc/vc-hooks.el
index b7760e3bba52f262468c87edf48e32dffc2dc12f..cd5b11d840b51b7241e44957b00801516e7fef08 100644
(file)
--- a/
lisp/vc/vc-hooks.el
+++ b/
lisp/vc/vc-hooks.el
@@
-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)