From: Dmitry Gutov Date: Sat, 21 Nov 2015 01:15:36 +0000 (+0200) Subject: diff-hl-revert-hunk: Kill the diff buffer afterwards X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/89e08d60c4e8d5d4ddd47e14c0dd769ba965a545 diff-hl-revert-hunk: Kill the diff buffer afterwards Closes #57. --- diff --git a/diff-hl.el b/diff-hl.el index cd3d01748..21077bac0 100644 --- a/diff-hl.el +++ b/diff-hl.el @@ -417,7 +417,7 @@ in the source file, or the last line of the hunk above it." (with-current-buffer ,buffer (save-buffer)) (message "Hunk reverted")))) - (quit-windows-on diff-buffer)))) + (quit-windows-on diff-buffer t)))) (defun diff-hl-hunk-overlay-at (pos) (cl-loop for o in (overlays-in pos (1+ pos))