[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 2463a0ebf7 2/3: Quit diff window as well when quittin
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 2463a0ebf7 2/3: Quit diff window as well when quitting edit var buffer |
Date: |
Tue, 6 Jun 2023 04:00:23 -0400 (EDT) |
branch: elpa/helm
commit 2463a0ebf7bf43836275c6488a723aae9a0086e3
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Quit diff window as well when quitting edit var buffer
---
helm-lib.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/helm-lib.el b/helm-lib.el
index 3877fb6d28..8260f90ff1 100644
--- a/helm-lib.el
+++ b/helm-lib.el
@@ -1375,7 +1375,9 @@ Special commands:
(interactive)
(delete-file helm-pretty-print-temp-file-name)
(set-buffer-modified-p nil)
- (quit-window t))
+ (quit-window t)
+ (helm-aif (get-buffer-window "*Diff*" 'visible)
+ (quit-window t it)))
(defun helm-find-face-definition (face)
"Try to jump to FACE definition.