mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
* textmodes/css-mode.el (css-font-lock-keywords): Fix grouped selectors.
Fixes: debbugs:5732
This commit is contained in:
parent
3da13bb976
commit
ad85fe1f1b
@ -1,3 +1,8 @@
|
||||
2011-06-28 Deniz Dogan <deniz@dogan.se>
|
||||
|
||||
* textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
|
||||
selectors (Bug#5732).
|
||||
|
||||
2011-06-27 Jari Aalto <jari.aalto@cante.net>
|
||||
|
||||
* eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
|
||||
|
@ -240,7 +240,7 @@
|
||||
;; thus prevent this highlighting from being applied (actually now that
|
||||
;; I use `append' this should work better). But really the part of hte
|
||||
;; selector between [...] should simply not be highlighted.
|
||||
(,(concat "^\\([ \t]*[^@:{\n][^:{\n]+\\(?::" (regexp-opt css-pseudo-ids t)
|
||||
(,(concat "^\\([ \t]*[^@:{}\n][^:{}]+\\(?::" (regexp-opt css-pseudo-ids t)
|
||||
"\\(?:([^)]+)\\)?[^:{\n]*\\)*\\)\\(?:\n[ \t]*\\)*{")
|
||||
(1 'css-selector append))
|
||||
;; In the above rule, we allow the open-brace to be on some subsequent
|
||||
|
Loading…
Reference in New Issue
Block a user