[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 99c0362c2b 3/3: Use *force-update in toggle details f
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 99c0362c2b 3/3: Use *force-update in toggle details fns |
Date: |
Wed, 29 Jun 2022 16:58:38 -0400 (EDT) |
branch: elpa/helm
commit 99c0362c2bb879df44f224d0add69a7434447d48
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Use *force-update in toggle details fns
---
helm-command.el | 2 +-
helm-elisp.el | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/helm-command.el b/helm-command.el
index 4e86124f88..9b5c070241 100644
--- a/helm-command.el
+++ b/helm-command.el
@@ -125,7 +125,7 @@ Return nil if no mode-map found."
"Toggle short doc display in helm-M-x."
(interactive)
(setq helm-M-x-show-short-doc (not helm-M-x-show-short-doc))
- (helm-update (concat "^" (helm-get-selection)) (helm-get-current-source)))
+ (helm-force-update (concat "^" (helm-get-selection))
(helm-get-current-source)))
(put 'helm-M-x-toggle-short-doc 'no-helm-mx t)
(defun helm-M-x-transformer-1 (candidates &optional sort ignore-props)
diff --git a/helm-elisp.el b/helm-elisp.el
index 4b9b7d9311..ce8087991e 100644
--- a/helm-elisp.el
+++ b/helm-elisp.el
@@ -791,8 +791,8 @@ is only used to test DEFAULT."
(unless (memq 'helm-apropos helm-commands-using-frame)
(setq helm-M-x-show-short-doc (not helm-M-x-show-short-doc)
helm-apropos-show-short-doc (not helm-apropos-show-short-doc))
- (helm-update (concat "^" (helm-stringify (helm-get-selection)))
- (helm-get-current-source)))))
+ (helm-force-update (concat "^" (helm-stringify (helm-get-selection)))
+ (helm-get-current-source)))))
;;;###autoload
(defun helm-apropos (default)