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 6e88b051..77440449 100644
--- a/helm-command.el
+++ b/helm-command.el
@@ -192,7 +192,10 @@ than the default which is OBARRAY."
(helm-describe-function candidate)
(setq in-help t))
(setq help-cand candidate))))
- (tm (run-at-time 1 0.1 'helm-M-x--notify-prefix-arg)))
+ (tm (run-at-time 1 0.1 'helm-M-x--notify-prefix-arg))
+ (helm-move-selection-after-hook
+ (cons (lambda () (setq current-prefix-arg nil))
+ helm-move-selection-after-hook)))
(setq extended-command-history
(cl-loop for c in extended-command-history
when (and c (commandp (intern c)))