# HG changeset patch # User Oleksandr Gavenko # Date 1609366803 -7200 # Node ID 0445e8ee4912eab5ae8d9037d0b115b981147c50 # Parent 05502e8a049dd95168489ec81e25d8f382f30a18 Fixed: show-paren-mode was disabled by large files because is it global mode. Allow to disable show-paren-mode for certain buffers making preference buffer local. diff -r 05502e8a049d -r 0445e8ee4912 .emacs-my --- a/.emacs-my Thu Dec 31 00:08:10 2020 +0200 +++ b/.emacs-my Thu Dec 31 00:20:03 2020 +0200 @@ -971,7 +971,9 @@ ;; parenthesis, expression, mixed (setq show-paren-style 'expression) -(show-paren-mode 1) ; Parenthesis matching via highlighting. +;; show-paren-mode is global, to override have to be local variable. +(make-variable-buffer-local 'show-paren-mode) +(show-paren-mode 1) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "input method") @@ -1250,7 +1252,7 @@ (font-lock-mode -1) (jit-lock-mode nil) (buffer-disable-undo) - (show-paren-mode -1) + (setq-local show-paren-mode nil) (auto-revert-tail-mode -1) (set (make-local-variable 'global-hl-line-mode) nil) (set (make-local-variable 'line-number-mode) nil)