From: Juri Linkov Date: Fri, 15 Mar 2024 07:45:48 +0000 (+0200) Subject: * lisp/vc/diff-mode.el (diff-mode-menu): Add menu item "Apply all hunks". X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5cbd4b4e740e452227280c6ad18c749f7d3407a8;p=emacs.git * lisp/vc/diff-mode.el (diff-mode-menu): Add menu item "Apply all hunks". It's bound to the recently added command 'diff-apply-buffer'. (cherry picked from commit ffbf876a93c7b34c84806e43659efbac519279fa) --- diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index ac7d55c8a46..0f393ba86a2 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el @@ -240,6 +240,8 @@ The default \"-b\" means to ignore whitespace-only changes, :help "Apply the current hunk to the source file and go to the next"] ["Test applying hunk" diff-test-hunk :help "See whether it's possible to apply the current hunk"] + ["Apply all hunks" diff-apply-buffer + :help "Apply all hunks in the current diff buffer"] ["Apply diff with Ediff" diff-ediff-patch :help "Call `ediff-patch-file' on the current buffer"] ["Create Change Log entries" diff-add-change-log-entries-other-window