]> git.eshelyaron.com Git - emacs.git/commit
Add option for not highlight parens inside comments or strings
authorElías Gabriel Pérez <eg642616@gmail.com>
Mon, 12 May 2025 18:04:46 +0000 (12:04 -0600)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 20:03:15 +0000 (22:03 +0200)
commit3f67fe13d89a88a47cbb176787b2571734585427
tree97957d22647f5b089e4cf2f14546d3654c88c277
parent46118f7de2c91b68ab09c5e50bac35780292d701
Add option for not highlight parens inside comments or strings

* lisp/paren.el (show-paren-not-in-comments-or-strings):
New user option.  (Bug#78396)
(show-paren-function): Enclose code in 'catch' function.
* etc/NEWS: Announce changes.
* doc/emacs/programs.texi (Matching): Document new option.

(cherry picked from commit 12397e3eb00c052455f03dc024e9335834f0c6ef)
doc/emacs/programs.texi
lisp/paren.el