branch: master commit 89e08d60c4e8d5d4ddd47e14c0dd769ba965a545 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
diff-hl-revert-hunk: Kill the diff buffer afterwards Closes #57. --- diff-hl.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/diff-hl.el b/diff-hl.el index cd3d017..21077ba 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))