branch: master
commit 3e9d26407e8767375e75757e5adcb23a6fe94985
Author: Dmitry Gutov <dgu...@yandex.ru>
Commit: Dmitry Gutov <dgu...@yandex.ru>

    Clean up diff-hl-dired process buffers
    
    Closes #89.
---
 diff-hl-dired.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/diff-hl-dired.el b/diff-hl-dired.el
index 895341b..e9cb182 100644
--- a/diff-hl-dired.el
+++ b/diff-hl-dired.el
@@ -132,7 +132,9 @@ status indicators."
                        (push (cons file type) files-alist)))))
                (unless more-to-come
                  (diff-hl-dired-highlight-items
-                  (append dirs-alist files-alist))))))
+                  (append dirs-alist files-alist))))
+             (unless more-to-come
+               (kill-buffer diff-hl-dired-process-buffer))))
          )))))
 
 (defun diff-hl-dired-status-files (backend dir files update-function)

Reply via email to