[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm e2867cc2bb 3/4: Specify the source where preselection
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm e2867cc2bb 3/4: Specify the source where preselection occur in *M-x |
Date: |
Mon, 18 Apr 2022 04:58:20 -0400 (EDT) |
branch: elpa/helm
commit e2867cc2bbc5a9ac46b5177aaa644c2f8ed24e0f
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Specify the source where preselection occur in *M-x
---
helm-command.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-command.el b/helm-command.el
index 4ba966b4d3..b81e114637 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-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)