mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/paren.el (show-paren-delay): Add a :set function. Doc fix. (Bug#12297)
This commit is contained in:
parent
31d024384c
commit
69ba1f0420
2 changed files with 15 additions and 1 deletions
|
|
@ -52,8 +52,17 @@ otherwise)."
|
|||
:group 'paren-showing)
|
||||
|
||||
(defcustom show-paren-delay 0.125
|
||||
"Time in seconds to delay before showing a matching paren."
|
||||
"Time in seconds to delay before showing a matching paren.
|
||||
If you change this without using customize while `show-paren-mode' is
|
||||
active, you must toggle the mode off and on again for this to take effect."
|
||||
:type '(number :tag "seconds")
|
||||
:initialize 'custom-initialize-default
|
||||
:set (lambda (sym val)
|
||||
(if (not show-paren-mode)
|
||||
(set sym val)
|
||||
(show-paren-mode -1)
|
||||
(set sym val)
|
||||
(show-paren-mode 1)))
|
||||
:group 'paren-showing)
|
||||
|
||||
(defcustom show-paren-priority 1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue