]> git.eshelyaron.com Git - emacs.git/commit
Don't freeze Emacs on colour codes in sccs-mode
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 15 May 2022 12:13:14 +0000 (14:13 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 15 May 2022 12:13:14 +0000 (14:13 +0200)
commit0da7689b167dd92c0ac307122be0a742a10abfb4
treeac2f949b7098a144cdc89b13dd680abfd28c2967
parentb26574d7d7c458fec7494484ea5bceeed45f2f02
Don't freeze Emacs on colour codes in sccs-mode

* lisp/textmodes/css-mode.el (css--font-lock-keywords): Don't
freeze Emacs on #ffffff #ffffff, and be more strict in parsing
selectors (bug#53203).
lisp/textmodes/css-mode.el
test/lisp/textmodes/css-mode-resources/css-selectors.txt [new file with mode: 0644]
test/lisp/textmodes/css-mode-resources/scss-selectors.txt [new file with mode: 0644]
test/lisp/textmodes/css-mode-tests.el