[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm fe73536ebe: Ensure popup-info fn is called even when
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm fe73536ebe: Ensure popup-info fn is called even when helm-window is not ready |
Date: |
Fri, 20 Sep 2024 04:00:02 -0400 (EDT) |
branch: elpa/helm
commit fe73536ebeaeaf48d4b3fe76f1c2c47f25a2c65c
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Ensure popup-info fn is called even when helm-window is not ready
---
helm-core.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/helm-core.el b/helm-core.el
index 3b5ca1ae4b..684c65bfa9 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -5190,6 +5190,13 @@ Argument OVERLAY is a ref-cell."
:follow t)
(forward-line 1)
(helm-mark-current-line)
+ ;; If we are here, it is because helm-window is not ready, if one of the
+ ;; functions in `helm-move-selection-after-hook' is called with
+ ;; `with-helm-window' (it shouldn't but never know) we will have an error.
+ (condition-case-unless-debug _err
+ (helm-log-run-hook "helm--update-move-first-line"
+ 'helm-move-selection-after-hook)
+ (error nil))
(helm-follow-execute-persistent-action-maybe)))
(cl-defun helm-force-update (&optional preselect (recenter t))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/helm fe73536ebe: Ensure popup-info fn is called even when helm-window is not ready,
ELPA Syncer <=