Variable: electric-pair-skip-whitespace

electric-pair-skip-whitespace is a customizable variable defined in elec-pair.el.gz.

Documentation

If non-nil skip whitespace when skipping over closing parens.

The specific kind of whitespace skipped is given by the variable electric-pair-skip-whitespace-chars.

The symbol chomp specifies that the skipped-over whitespace should be deleted.

Can also be a function of no arguments, in which case that function's return value is considered instead.

This variable was added, or its default value changed, in Emacs 24.4.

Probably introduced at or before Emacs version 24.4.

Source Code

;; Defined in /usr/src/emacs/lisp/elec-pair.el.gz
(defcustom electric-pair-skip-whitespace t
  "If non-nil skip whitespace when skipping over closing parens.

The specific kind of whitespace skipped is given by the variable
`electric-pair-skip-whitespace-chars'.

The symbol `chomp' specifies that the skipped-over whitespace
should be deleted.

Can also be a function of no arguments, in which case that function's
return value is considered instead."
  :version "24.4"
  :group 'electricity
  :type '(choice
          (const :tag "Yes, jump over whitespace" t)
          (const :tag "Yes, and delete whitespace" chomp)
          (const :tag "No, no whitespace skipping" nil)
          function))