(show-paren-mode): No longer change `blink-matching-paren-on-screen'.
This commit is contained in:
parent
92aa8a331e
commit
965cd29a27
1 changed files with 1 additions and 8 deletions
|
@ -110,14 +110,7 @@ Returns the new status of Show Paren mode (non-nil means on).
|
||||||
When Show Paren mode is enabled, any matching parenthesis is highlighted
|
When Show Paren mode is enabled, any matching parenthesis is highlighted
|
||||||
in `show-paren-style' after `show-paren-delay' seconds of Emacs idle time."
|
in `show-paren-style' after `show-paren-delay' seconds of Emacs idle time."
|
||||||
:global t :group 'paren-showing
|
:global t :group 'paren-showing
|
||||||
;; Turn off the usual paren-matching method
|
;; Enable or disable the mechanism.
|
||||||
;; when this one is turned on.
|
|
||||||
(if (local-variable-p 'show-paren-mode)
|
|
||||||
(make-local-variable 'blink-matching-paren-on-screen)
|
|
||||||
(kill-local-variable 'blink-matching-paren-on-screen))
|
|
||||||
(setq blink-matching-paren-on-screen (not show-paren-mode))
|
|
||||||
|
|
||||||
;; Now enable or disable the mechanism.
|
|
||||||
;; First get rid of the old idle timer.
|
;; First get rid of the old idle timer.
|
||||||
(if show-paren-idle-timer
|
(if show-paren-idle-timer
|
||||||
(cancel-timer show-paren-idle-timer))
|
(cancel-timer show-paren-idle-timer))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue