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:
parent
b4b83fa2ba
commit
d6ea6453f3
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user