emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 89e08d6 01/10: diff-hl-revert-hunk: Kill the diff buffer a


From: Dmitry Gutov
Subject: [elpa] master 89e08d6 01/10: diff-hl-revert-hunk: Kill the diff buffer afterwards
Date: Sun, 10 Jan 2016 15:47:42 +0000

branch: master
commit 89e08d60c4e8d5d4ddd47e14c0dd769ba965a545
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]