Function: transient-echo-arguments

transient-echo-arguments is an interactive and byte-compiled function defined in transient.el.

Signature

(transient-echo-arguments ARG1)

Documentation

Show the transient's active ARGUMENTS in the echo area.

Intended for use in prefixes used for demonstration purposes, such as when suggesting a new feature or reporting an issue.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(transient-define-suffix transient-echo-arguments (arguments)
  "Show the transient's active ARGUMENTS in the echo area.
Intended for use in prefixes used for demonstration purposes,
such as when suggesting a new feature or reporting an issue."
  :transient t
  :description "Echo arguments"
  :key "x"
  (interactive (list (transient-args transient-current-command)))
  (if (seq-every-p #'stringp arguments)
      (message "%s: %s" (key-description (this-command-keys))
               (mapconcat (lambda (arg)
                            (propertize (if (string-match-p " " arg)
                                            (format "%S" arg)
                                          arg)
                                        'face 'transient-argument))
                          arguments " "))
    (message "%s: %S" (key-description (this-command-keys)) arguments)))