summaryrefslogtreecommitdiff
path: root/helm-command.el
diff options
context:
space:
mode:
authorChunyang Xu <xuchunyang.me@gmail.com>2016-06-21 18:48:24 +0800
committerChunyang Xu <xuchunyang.me@gmail.com>2016-06-21 18:48:24 +0800
commit4b86d1ba9643171df610de48755c631f9116412b (patch)
tree44ef992cd64712c5e2fbb2fe8a189ce5a90a48ab /helm-command.el
parenta80ee6d6b36dde1f0005f62aab0c7f3ccad7ffdc (diff)
Display prefix argument before helm-M-x
Diffstat (limited to 'helm-command.el')
-rw-r--r--helm-command.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/helm-command.el b/helm-command.el
index fecbf11b..6f26f740 100644
--- a/helm-command.el
+++ b/helm-command.el
@@ -143,7 +143,9 @@ fuzzy matching is running its own sort function with a different algorithm."
(defun helm-M-x--notify-prefix-arg ()
;; Notify a prefix-arg set AFTER calling M-x.
- (when prefix-arg
+ (when (or prefix-arg
+ (when helm-M-x-allow-prefix-argument
+ helm-M-x-prefix-argument))
(with-helm-window
(helm-display-mode-line (helm-get-current-source) 'force))))