Function: transient-format

transient-format is a byte-compiled function defined in transient.el.

Signature

(transient-format OBJ)

Documentation

Format and return OBJ for display.

When this function is called, then the current buffer is some temporary buffer. If you need the buffer from which the prefix command was invoked to be current, then do so by temporarily making transient--original-buffer current.

Implementations

((obj magit--git-branch:upstream)) in `magit-branch.el'.

Undocumented

((obj transient-suffix)) in `transient.el'.

Return a string generated using OBJ's `format'. %k is formatted using `transient-format-key'. %d is formatted using `transient-format-description'. %i is formatted using `transient-format-inapt'.

((obj transient-infix)) in `transient.el'.

Return a string generated using OBJ's `format'. %k is formatted using `transient-format-key'. %d is formatted using `transient-format-description'. %v is formatted using `transient-format-value'. %i is formatted using `transient-format-inapt'.

:around ((obj transient-suffix)) in `transient.el'.

Add additional formatting if appropriate. When reading user input for this infix, then highlight it. When edit-mode is enabled, then prepend the level information. When `transient-enable-menu-navigation' is non-nil then format as a button.

((arg integer)) in `transient.el'.

Return a string containing just the ARG character.

((_ null)) in `transient.el'.

Return a string containing just the newline character.

((arg string)) in `transient.el'.

Return the string ARG after applying the `transient-heading' face.

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(cl-defgeneric transient-format (obj)
  "Format and return OBJ for display.

When this function is called, then the current buffer is some
temporary buffer.  If you need the buffer from which the prefix
command was invoked to be current, then do so by temporarily
making `transient--original-buffer' current.")