Variable: reftex-toc-confirm-promotion

reftex-toc-confirm-promotion is a customizable variable defined in reftex-vars.el.gz.

Value

2

Documentation

Non-nil means, promotion/demotion commands first prompt for confirmation.

If nil, the command is executed immediately. If this is an integer N, ask for confirmation only if N or more section commands are going to be changed.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex-vars.el.gz
(defcustom reftex-toc-confirm-promotion 2
  "Non-nil means, promotion/demotion commands first prompt for confirmation.
If nil, the command is executed immediately.  If this is an integer N,
ask for confirmation only if N or more section commands are going to be
changed."
  :group 'reftex-table-of-contents-browser
  :type '(choice
          (const  :tag "Never" nil)
          (const  :tag "Always" t)
          (number :tag "When more than N sections" :value 2)))