]> git.eshelyaron.com Git - emacs.git/commit
Fix symbol list matching regexps.
authorVladimir Kazanov <vekazanov@gmail.com>
Sun, 31 Mar 2024 17:32:59 +0000 (18:32 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 2 Apr 2024 13:27:21 +0000 (15:27 +0200)
commit7bef8e3177c1090c266061e3c1d81398208041d1
tree15dd25617606b18bdff259459ffd07fb6ad799f3
parentc111ea5aeca30a585a578cb94497aee98a038b02
Fix symbol list matching regexps.

Fix symbol list matching regexp performance

Allow empty face lists, improve the face list matching regexp (see
discussion in Bug#69714) based on relint's comments, add tests:
* test/lisp/emacs-lisp/ert-font-lock-tests.el: Add tests.
* lisp/emacs-lisp/ert-font-lock.el: Fix regexps.

(cherry picked from commit 3f9263f791fb8e4ff0507c8fde95fa19dabcab10)
lisp/emacs-lisp/ert-font-lock.el
test/lisp/emacs-lisp/ert-font-lock-tests.el