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

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

[nongnu] elpa/helm ae8721ca33 2/2: Fix #2530 by resetting helm-pattern w


From: ELPA Syncer
Subject: [nongnu] elpa/helm ae8721ca33 2/2: Fix #2530 by resetting helm-pattern when exiting/quitting
Date: Fri, 19 Aug 2022 03:59:03 -0400 (EDT)

branch: elpa/helm
commit ae8721ca331a10a3ce3a8d86570108f11709381b
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Fix #2530 by resetting helm-pattern when exiting/quitting
---
 helm-core.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/helm-core.el b/helm-core.el
index 03d176fce5..cbdb3405c9 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -4104,6 +4104,10 @@ WARNING: Do not use this mode yourself, it is internal 
to Helm."
   ;; `helm-set-local-variable'.
   (setq helm--force-updating-p nil)
   (setq helm--buffer-in-new-frame-p nil)
+  ;; Reset helm-pattern so that value of previous session doesn't
+  ;; interfere with next session (bug#2530).
+  (setq helm-pattern ""
+        helm-input "")
   ;; This is needed in some cases where last input
   ;; is yielded infinitely in minibuffer after helm session.
   (helm-clean-up-minibuffer))



reply via email to

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