mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
diff-mode-shared-map: Bind '@' to diff-revert-and-kill-hunk
* lisp/vc/diff-mode.el (diff-mode-shared-map): Bind '@' to diff-revert-and-kill-hunk.
This commit is contained in:
parent
89bc088a8d
commit
a269bcb86b
1 changed files with 3 additions and 2 deletions
|
|
@ -221,11 +221,12 @@ See also `diff-mode-read-only-map'."
|
|||
"s" #'diff-split-hunk
|
||||
|
||||
;; The foregoing commands don't affect buffers beyond this one.
|
||||
;; The following command is the only one that has a single-letter
|
||||
;; The following command is the only one that has a single-character
|
||||
;; binding and which affects buffers beyond this one.
|
||||
;; However, the following command asks for confirmation by default,
|
||||
;; so that seems okay. --spwhitton
|
||||
"u" #'diff-revert-and-kill-hunk)
|
||||
"u" #'diff-revert-and-kill-hunk
|
||||
"@" #'diff-revert-and-kill-hunk)
|
||||
|
||||
;; Not `diff-read-only-mode-map' because there is no such mode
|
||||
;; `diff-read-only-mode'; see comment above.
|
||||
|
|
|
|||
Loading…
Reference in a new issue