Skip to content

Commit 0de49e2

Browse files
Use dst* in helm-M-x
1 parent 294e7a1 commit 0de49e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm-command.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ Arg HISTORY default to `extended-command-history'."
331331
:fuzzy-match helm-M-x-fuzzy-match)))
332332
(prompt (concat (helm-acase helm-M-x-prefix-argument
333333
(- "-")
334-
((guard* (and (consp it) (car it)))
335-
(if (eq guard 4) "C-u " (format "%d " guard)))
334+
((dst* (l &rest args))
335+
(if (eq l 4) "C-u " (format "%d " l)))
336336
((guard* (integerp it)) (format "%d " it)))
337337
"M-x ")))
338338
(setq helm-M-x--timer (run-at-time 1 0.1 #'helm-M-x--notify-prefix-arg))

0 commit comments

Comments
 (0)