aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorDeniz Dogan2011-06-28 13:23:01 +0200
committerDeniz Dogan2011-06-28 13:23:01 +0200
commitad85fe1f1b0719e4e33596a0eb60aa3f0fca74fe (patch)
treeabe5dcb4e707211b9ff136265fc0c9ca54a6d1b3 /lisp/textmodes
parent3da13bb9769604e73ae2e31d9f8f64e319c455c7 (diff)
downloademacs-ad85fe1f1b0719e4e33596a0eb60aa3f0fca74fe.tar.gz
emacs-ad85fe1f1b0719e4e33596a0eb60aa3f0fca74fe.zip
* textmodes/css-mode.el (css-font-lock-keywords): Fix grouped selectors.
Fixes: debbugs:5732
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/css-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index ef51fb25035..0a8f0b303c9 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -240,7 +240,7 @@
240 ;; thus prevent this highlighting from being applied (actually now that 240 ;; thus prevent this highlighting from being applied (actually now that
241 ;; I use `append' this should work better). But really the part of hte 241 ;; I use `append' this should work better). But really the part of hte
242 ;; selector between [...] should simply not be highlighted. 242 ;; selector between [...] should simply not be highlighted.
243 (,(concat "^\\([ \t]*[^@:{\n][^:{\n]+\\(?::" (regexp-opt css-pseudo-ids t) 243 (,(concat "^\\([ \t]*[^@:{}\n][^:{}]+\\(?::" (regexp-opt css-pseudo-ids t)
244 "\\(?:([^)]+)\\)?[^:{\n]*\\)*\\)\\(?:\n[ \t]*\\)*{") 244 "\\(?:([^)]+)\\)?[^:{\n]*\\)*\\)\\(?:\n[ \t]*\\)*{")
245 (1 'css-selector append)) 245 (1 'css-selector append))
246 ;; In the above rule, we allow the open-brace to be on some subsequent 246 ;; In the above rule, we allow the open-brace to be on some subsequent