# HG changeset patch # User Oleksandr Gavenko # Date 1609365822 -7200 # Node ID 984c15b493ab3ec8a1985fece3f78fb956a966f6 # Parent c9e9a3912a9580dfc6feb5182028124b01f75322 Highlight an entire expression instead of matching parenthesis. diff -r c9e9a3912a95 -r 984c15b493ab .emacs-my --- a/.emacs-my Fri Dec 25 20:21:56 2020 +0200 +++ b/.emacs-my Thu Dec 31 00:03:42 2020 +0200 @@ -966,8 +966,12 @@ (require 'paren) +(when window-system + (face-spec-set 'show-paren-match '((t :background "cornsilk")))) +;; parenthesis, expression, mixed +(setq show-paren-style 'expression) + (show-paren-mode 1) ; Parenthesis matching via highlighting. -(setq show-paren-style (quote parenthesis)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "input method")