summaryrefslogtreecommitdiff
path: root/helm-command.el
diff options
context:
space:
mode:
Diffstat (limited to 'helm-command.el')
-rw-r--r--helm-command.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/helm-command.el b/helm-command.el
index 45a4c192..4728055d 100644
--- a/helm-command.el
+++ b/helm-command.el
@@ -220,7 +220,10 @@ than the default which is OBARRAY."
helm-move-selection-after-hook))
(sources (and helm-M-x-use-completion-styles
`(,(helm-build-sync-source "Emacs Commands history"
- :candidates (lambda () (or history extended-command-history))
+ :candidates (helm-dynamic-completion
+ (or history extended-command-history)
+ #'commandp)
+ :match-dynamic t
:filtered-candidate-transformer 'helm-M-x-transformer-hist)
,(helm-build-sync-source "Emacs Commands"
:candidates (helm-dynamic-completion