Function: transient-toggle-docstrings

transient-toggle-docstrings is an interactive and byte-compiled function defined in transient.el.

Signature

(transient-toggle-docstrings &optional ARG1)

Documentation

Toggle whether to show docstrings instead of suffix descriptions.

By default this is only enabled temporarily for the current transient menu invocation. With a prefix argument, enable this until explicitly disabled again.

Infix arguments are not affected by this, because otherwise many menus would likely become unreadable. To make this command available in all menus, bind it in transient-map. transient-show-docstring-format controls how the docstrings are displayed and whether descriptions are also displayed.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(transient-define-suffix transient-toggle-docstrings (&optional permanent)
  "Toggle whether to show docstrings instead of suffix descriptions.

By default this is only enabled temporarily for the current transient
menu invocation.  With a prefix argument, enable this until explicitly
disabled again.

Infix arguments are not affected by this, because otherwise many menus
would likely become unreadable.  To make this command available in all
menus, bind it in `transient-map'.  `transient-show-docstring-format'
controls how the docstrings are displayed and whether descriptions are
also displayed."
  :transient t
  (interactive (list current-prefix-arg))
  (setq transient--docsp (if permanent 'permanent (not transient--docsp))))