Skip to content

Commit

Permalink
feat: exclude commands for transient suffix only
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimAziev committed Feb 14, 2024
1 parent 460857e commit 00330b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion counsel-extra.el
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,9 @@ Argument COLLECTION is a list or array to be used for completion."
(when-let ((sym (intern-soft str)))
(and (commandp sym)
(not (get sym 'byte-obsolete-info))
(not (get sym 'no-counsel-M-x))
(not (get sym 'byte-obsolete-info))
(not (eq (get sym 'command-predicate)
'transient--suffix-only))
(cond ((not (bound-and-true-p
read-extended-command-predicate)))
((functionp read-extended-command-predicate)
Expand Down

0 comments on commit 00330b2

Please sign in to comment.