diff options
author | Dima Kogan <dima@secretsauce.net> | 2020-10-30 14:04:06 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-10-30 14:04:06 +0100 |
commit | 0836335cdff727142a8a2831942f42b18cb5c780 (patch) | |
tree | 911cd9ca1ef05fbdc20818b02015e52e403ef2fc /doc/emacs/files.texi | |
parent | 32c5f1c7a8da0c0dd9de126c966af8c7cd382970 (diff) | |
download | emacs-0836335cdff727142a8a2831942f42b18cb5c780.tar.gz emacs-0836335cdff727142a8a2831942f42b18cb5c780.tar.bz2 emacs-0836335cdff727142a8a2831942f42b18cb5c780.zip |
Add a new command to regenerate a hunk in diff-mode
* lisp/vc/diff-mode.el (diff-refresh-hunk): New function (bug#44312).
(diff-mode-map): Bind C-c C-l.
Diffstat (limited to 'doc/emacs/files.texi')
-rw-r--r-- | doc/emacs/files.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 51e8bd1382f..eb4353b6784 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi @@ -1629,6 +1629,10 @@ Convert the entire buffer to unified diff format unified format to context format. When the mark is active, convert only the hunks within the region. +@item C-c C-l +@findex diff-refresh-hunk +Re-generate the current hunk (@code{diff-refresh-hunk}). + @item C-c C-w @findex diff-ignore-whitespace-hunk Re-generate the current hunk, disregarding changes in whitespace |