diff options
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/css-mode.el | 2 |
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 |