mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Bind 's' to diff-split-hunk in read-only diff-mode
* lisp/vc/diff-mode.el (diff-mode-shared-map): Bind 's' to 'diff-split-hunk'. * etc/NEWS: Document the change.
This commit is contained in:
parent
077b33ef7d
commit
705c0e3729
2 changed files with 4 additions and 0 deletions
3
etc/NEWS
3
etc/NEWS
|
|
@ -2293,6 +2293,9 @@ region overlaps. Otherwise, they have their existing behavior.
|
|||
With a prefix argument, it now reverse-applies hunks.
|
||||
This matches the existing prefix argument to 'diff-apply-hunk'.
|
||||
|
||||
---
|
||||
*** 's' is now bound to 'diff-split-hunk' in read-only Diff mode buffers.
|
||||
|
||||
** Ediff
|
||||
|
||||
+++
|
||||
|
|
|
|||
|
|
@ -218,6 +218,7 @@ See also `diff-mode-read-only-map'."
|
|||
"<mouse-2>" #'diff-goto-source
|
||||
"o" #'diff-goto-source ; other-window
|
||||
"<remap> <undo>" #'undo-ignore-read-only
|
||||
"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
|
||||
|
|
|
|||
Loading…
Reference in a new issue