Commit ec49bd31 authored by Deniz Dogan's avatar Deniz Dogan
Browse files

* textmodes/css-mode.el (css-proprietary-nmstart-re): Use `regexp-opt'.

parent ad85fe1f
......@@ -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>
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment