bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12297: show-paren-mode only recognizes show-paren-delay value on act


From: Roy Crihfield
Subject: bug#12297: show-paren-mode only recognizes show-paren-delay value on activation
Date: Wed, 29 Aug 2012 22:45:27 -0400

Forgot to include version: 24.1.1.

On Tue, Aug 28, 2012 at 6:47 PM, Roy Crihfield <rscrihf@gmail.com> wrote:
Activating show-paren-mode sets the delay time to show-paren-delay initially, but altering that value later has no effect. i.e., after:

(show-paren-mode)
(setq show-paren-delay 0)

The timer is still set to the original value .125, until the mode is re-activated.
This should maybe be noted in the variable description, or there should be a dedicated function to set the new value, e.g. by turning line 125 of paren.el into a separate function:

(setq show-paren-idle-timer (run-with-idle-timer
                   show-paren-delay t
                   'show-paren-function))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]