1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

Fix alignement rule for CSS

* lisp/align.el (align-rules-list): Support CSS properties that have
multiple words.

Copyright-paperwork-exempt: yes
This commit is contained in:
Etienne Prud'homme 2016-04-06 17:05:41 -04:00 committed by Simen Heggestøyl
parent b4b83fa2ba
commit d6ea6453f3

View File

@ -577,7 +577,7 @@ The possible settings for `align-region-separate' are:
(eq '- current-prefix-arg)))))
(css-declaration
(regexp . "^\\s-*\\w+:\\(\\s-*\\).*;")
(regexp . "^\\s-*\\(?:\\w-?\\)+:\\(\\s-*\\).*;")
(group . (1))
(modes . '(css-mode html-mode))))
"A list describing all of the available alignment rules.