Function: transient-command-completion-not-suffix-only-p

transient-command-completion-not-suffix-only-p is a byte-compiled function defined in transient.el.

Signature

(transient-command-completion-not-suffix-only-p SYMBOL BUFFER)

Documentation

Say whether SYMBOL should be offered as a completion.

If the value of SYMBOL's completion-predicate property is transient--suffix-only, then return nil, otherwise return t. This is the case when a command should only ever be used as a suffix of a transient prefix command (as opposed to bindings in regular keymaps or by using execute-extended-command).

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defun transient-command-completion-not-suffix-only-p (symbol _buffer)
  "Say whether SYMBOL should be offered as a completion.
If the value of SYMBOL's `completion-predicate' property is
`transient--suffix-only', then return nil, otherwise return t.
This is the case when a command should only ever be used as a
suffix of a transient prefix command (as opposed to bindings
in regular keymaps or by using `execute-extended-command')."
  (not (eq (get symbol 'completion-predicate) 'transient--suffix-only)))