Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ec49bd31
Commit
ec49bd31
authored
Jun 28, 2011
by
Deniz Dogan
Browse files
* textmodes/css-mode.el (css-proprietary-nmstart-re): Use `regexp-opt'.
parent
ad85fe1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
lisp/ChangeLog
lisp/ChangeLog
+1
-0
lisp/textmodes/css-mode.el
lisp/textmodes/css-mode.el
+1
-1
No files found.
lisp/ChangeLog
View file @
ec49bd31
...
...
@@ -2,6 +2,7 @@
* textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
selectors (Bug#5732).
(css-proprietary-nmstart-re): Use `regexp-opt'.
2011-06-27 Jari Aalto <jari.aalto@cante.net>
...
...
lisp/textmodes/css-mode.el
View file @
ec49bd31
...
...
@@ -213,7 +213,7 @@
(
defconst
css-nmstart-re
(
concat
"\\(?:[[:alpha:]]\\|"
css-escapes-re
"\\)"
))
(
defconst
css-ident-re
(
concat
css-nmstart-re
css-nmchar-re
"*"
))
(
defconst
css-proprietary-nmstart-re
;; Vendor-specific properties.
"[-_]\\(?:ms\\|moz\\|o\\|webkit\\|khtml\\)
-"
)
(
concat
"[-_]"
(
regexp-opt
'
(
"ms"
"moz"
"o"
"khtml"
"webkit"
))
"
-"
)
)
(
defconst
css-name-re
(
concat
css-nmchar-re
"+"
))
(
defface
css-selector
'
((
t
:inherit
font-lock-function-name-face
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment