Skip to content

Commit 004c81e

Browse files
Add persistent action for command category
1 parent 8cdc5f3 commit 004c81e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

helm-mode.el

+3
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
(declare-function helm-M-x--unwind-forms "helm-command")
6363
(declare-function helm-M-x--move-selection-after-hook "helm-command")
6464
(declare-function helm-M-x--before-action-hook "helm-command")
65+
(declare-function helm-M-x-persistent-action "helm-command")
6566

6667
(defgroup helm-mode nil
6768
"Enable helm completion."
@@ -1571,6 +1572,8 @@ dynamically otherwise use `helm-completing-read-default-2'."
15711572
:alistp alistp
15721573
:diacritics helm-mode-ignore-diacritics
15731574
:help-message #'helm-comp-read-help-message
1575+
:persistent-action (and pref-arg #'helm-M-x-persistent-action)
1576+
:persistent-help (if pref-arg "Toggle Describe command" "DoNothing")
15741577
:name name
15751578
:requires-pattern (if (and (stringp default)
15761579
(string= default "")

0 commit comments

Comments
 (0)