Function: transient-prefix-value

transient-prefix-value is a byte-compiled function defined in transient.el.

Signature

(transient-prefix-value OBJ)

Documentation

Return a list of the values of the suffixes of the specified prefix.

OBJ is a prototype object and is only used to select the appropriate method of this generic function. Transient itself only provides one such method, which should be suitable for most prefixes.

This function is only intended to be used by transient-args. It is not defined as an internal function because third-party packages may define their own methods. That does not mean that it would be a good idea to call it for any other purpose.

Implementations

(transient-prefix-value (OBJ magit-log-prefix)) in `magit-log.el'.

Undocumented

(transient-prefix-value (OBJ magit-diff-prefix)) in `magit-diff.el'.

Undocumented

(transient-prefix-value (OBJ transient-prefix)) in `transient.el'.

Return a list of the values of the suffixes of the specified prefix.

OBJ is a prototype object. This method does not return the value of that object. Instead it extracts the name of the respective command from the object and uses that to collect the current values from the suffixes of the prefix from which the current command was invoked. If the current command was not invoked from the identified prefix, then this method returns the set, save or default value, as described for `transient-args'.

This method uses `transient-suffixes' (which see) to determine the suffix objects and then extracts the value(s) from those objects.

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(cl-defgeneric transient-prefix-value (obj)
  "Return a list of the values of the suffixes of the specified prefix.

OBJ is a prototype object and is only used to select the appropriate
method of this generic function.  Transient itself only provides one
such method, which should be suitable for most prefixes.

This function is only intended to be used by `transient-args'.  It is
not defined as an internal function because third-party packages may
define their own methods.  That does not mean that it would be a good
idea to call it for any other purpose.")