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 prefix command has a level, which controls which suffix commands are available. Integers between 1 and 7 (inclusive) are valid levels.

The levels of individual transients and/or their individual suffixes can be changed individually, by invoking the prefix and then pressing M-x transient-set-level (transient-set-level).

The default level for both transients and their suffixes is 4. This option only controls the default for transients. The default suffix level is always 4. The author of a transient should place certain suffixes on a higher level if they expect that it won't be of use to most users, and they should place very important suffixes on a lower level so that they remain available even if the user lowers the transient level.

(Magit currently places nearly all suffixes on level 4 and lower
levels are not used at all yet. So for the time being you should not set a lower level here and using a higher level might not give you as many additional suffixes as you hoped.)

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

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/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 prefix command
has a level, which controls which suffix commands are available.
Integers between 1 and 7 (inclusive) are valid levels.

The levels of individual transients and/or their individual
suffixes can be changed individually, by invoking the prefix and
then pressing \\<transient--docstr-hint-2>\\[transient-set-level].

The default level for both transients and their suffixes is 4.
This option only controls the default for transients.  The default
suffix level is always 4.  The author of a transient should place
certain suffixes on a higher level if they expect that it won't be
of use to most users, and they should place very important suffixes
on a lower level so that they remain available even if the user
lowers the transient level.

\(Magit currently places nearly all suffixes on level 4 and lower
levels are not used at all yet.  So for the time being you should
not set a lower level here and using a higher level might not
give you as many additional suffixes as you hoped.)"
  :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)))