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

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

[nongnu] elpa/helm aa2ece8aba: Fix completing-read's using something els


From: ELPA Syncer
Subject: [nongnu] elpa/helm aa2ece8aba: Fix completing-read's using something else than `t'
Date: Sat, 9 Jul 2022 23:58:36 -0400 (EDT)

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

    Fix completing-read's using something else than `t'
---
 helm-mode.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/helm-mode.el b/helm-mode.el
index 4c79e832d6..2543ac3151 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -738,6 +738,9 @@ that use `helm-comp-read'.  See `helm-M-x' for example."
              nil "Error: History should be specified as a symbol")
   (when (get-buffer helm-action-buffer)
     (kill-buffer helm-action-buffer))
+  (unless (memq must-match '(confirm confirm-after-completion t nil))
+    ;; Fix completing-read's using something else than `t' e.g. 1 or whatever.
+    (setq must-match t))
   (let ((action-fn `(("Sole action (Identity)"
                       . (lambda (candidate)
                           (if ,marked-candidates



reply via email to

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