Variable: transient-default-level

transient-default-level is a customizable variable defined in transient.el.

Value

4

Documentation

Control what suffix levels are made available by default.

Each suffix command is placed on a level and each menu has a level. A suffix commands is available if its (non-zero) level is smaller or equal to the level of the menu. Valid levels are integers between 1 and 7. As a special case, the level of a suffix can be 0, in which case it is never shown, regardless of the menu's level. The default level for suffix commands is 1.

The default level for menus is controlled by this option and defaults to 4. To show more suffix commands increase the value of this option or the level of an individual menu. To show fewer suffixes increase such a value. Changing the value of this option affects the menus of all packages, so you might want to only change the value of individual menus.

To control which commands are shown for some menu, invoke it as usual, and then press M-x transient-set-level (transient-set-level). You will be guided through the process. This allows you to change the level of the menu itself, and/or the levels of individual suffix commands for even finer control.

The function transient-set-default-level can be used to change the level of an individual suffix command across all menus, which feature that command and provided no local value is specified. This does not work for all suffix commands, and is thus discouraged.

This variable was added, or its default value changed, in transient version 0.1.0.

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20261101.1108/transient.el
(defcustom transient-default-level transient--default-prefix-level
  "Control what suffix levels are made available by default.

Each suffix command is placed on a level and each menu has a level.
A suffix commands is available if its (non-zero) level is smaller or
equal to the level of the menu.  Valid levels are integers between 1
and 7.  As a special case, the level of a suffix can be 0, in which
case it is never shown, regardless of the menu's level.  The default
level for suffix commands is 1.

The default level for menus is controlled by this option and defaults
to 4.  To show more suffix commands increase the value of this option
or the level of an individual menu.  To show fewer suffixes increase
such a value.  Changing the value of this option affects the menus of
all packages, so you might want to only change the value of individual
menus.

To control which commands are shown for some menu, invoke it as usual,
and then press \\<transient--docstr-hint-2>\\[transient-set-level]. \
You will be guided through the process.  This
allows you to change the level of the menu itself, and/or the levels
of individual suffix commands for even finer control.

The function `transient-set-default-level' can be used to change the
level of an individual suffix command across all menus, which feature
that command and provided no local value is specified.  This does not
work for all suffix commands, and is thus discouraged."
  :package-version '(transient . "0.1.0")
  :group 'transient
  :type '(choice (const :tag "1 - fewest suffixes" 1)
                 (const 2)
                 (const 3)
                 (const :tag "4 - default" 4)
                 (const 5)
                 (const 6)
                 (const :tag "7 - most suffixes" 7)))