Variable: magit-slow-confirm

magit-slow-confirm is a customizable variable defined in magit-base.el.

Value

(drop-stashes)

Documentation

Whether to ask user "y or n" or "yes or no" questions.

When this is nil, then y-or-n-p is used when the user has to confirm a potentially destructive action. When this is t, then yes-or-no-p is used instead. If this is a list of symbols identifying actions, then yes-or-no-p is used for those, y-or-no-p for all others. The list of actions is the same as for magit-no-confirm (which see).

This variable was added, or its default value changed, in magit version 2.9.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-base.el
(defcustom magit-slow-confirm '(drop-stashes)
  "Whether to ask user \"y or n\" or \"yes or no\" questions.

When this is nil, then `y-or-n-p' is used when the user has to
confirm a potentially destructive action.  When this is t, then
`yes-or-no-p' is used instead.  If this is a list of symbols
identifying actions, then `yes-or-no-p' is used for those,
`y-or-no-p' for all others.  The list of actions is the same as
for `magit-no-confirm' (which see)."
  :package-version '(magit . "2.9.0")
  :group 'magit-miscellaneous
  :type `(choice (const :tag "Always ask \"yes or no\" questions" t)
                 (const :tag "Always ask \"y or n\" questions" nil)
                 (set   :tag "Ask \"yes or no\" questions only for"
                        ,@magit--confirm-actions)))