Function: projectile--transient-command-p

projectile--transient-command-p is a byte-compiled function defined in projectile.el.

Signature

(projectile--transient-command-p COMMAND)

Documentation

Return non-nil if COMMAND is a transient prefix.

Such commands (e.g. projectile-dispatch) pop a menu and run the chosen suffix command asynchronously, after the caller has already returned. Detected via the transient--prefix symbol property that transient-define-prefix sets, which is also how transient itself recognises its prefixes.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--transient-command-p (command)
  "Return non-nil if COMMAND is a transient prefix.
Such commands (e.g. `projectile-dispatch') pop a menu and run the chosen
suffix command asynchronously, after the caller has already returned.
Detected via the `transient--prefix' symbol property that
`transient-define-prefix' sets, which is also how `transient' itself
recognises its prefixes."
  (and (symbolp command)
       (fboundp command)
       (get command 'transient--prefix)))