diff options
| author | Sean Whitton | 2025-11-25 14:53:19 +0000 |
|---|---|---|
| committer | Sean Whitton | 2025-11-25 14:53:19 +0000 |
| commit | 59e8b7267feaf0ec702239f94a1085e7c8e4b476 (patch) | |
| tree | c031d11d3fb961efa7725dbdf54117d32407c96e /src/buffer.c | |
| parent | 1844ce4a0fb3b4143b3fbc9942df1d6c9bf8fcd3 (diff) | |
| download | emacs-59e8b7267feaf0ec702239f94a1085e7c8e4b476.tar.gz emacs-59e8b7267feaf0ec702239f94a1085e7c8e4b476.zip | |
Make diff-apply-hunk consider an active region
* lisp/vc/diff-mode.el (diff-apply-buffer): New 'no-save'
meaning for fourth optional argument. Reserve other non-nil
values for this argument. Use ngettext for one message.
(diff-apply-hunk): If the region is active, apply all hunks that
the region overlaps, like diff-apply-buffer.
* doc/emacs/files.texi (Diff Mode):
* etc/NEWS: Document the change to diff-apply-hunk.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions