aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEtienne Prud'homme2016-04-06 17:05:41 -0400
committerSimen Heggestøyl2016-04-10 23:31:19 +0200
commitd6ea6453f3d1696b9e6cd0a0222fc77dc646365c (patch)
treef61e4e0a9f291568b0741315f730ade4858122d2
parentb4b83fa2ba52cd5398e3b9d085b4afea679d1515 (diff)
downloademacs-d6ea6453f3d1696b9e6cd0a0222fc77dc646365c.tar.gz
emacs-d6ea6453f3d1696b9e6cd0a0222fc77dc646365c.zip
Fix alignement rule for CSS
* lisp/align.el (align-rules-list): Support CSS properties that have multiple words. Copyright-paperwork-exempt: yes
-rw-r--r--lisp/align.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/align.el b/lisp/align.el
index c3389dc9860..41519a5017e 100644
--- a/lisp/align.el
+++ b/lisp/align.el
@@ -577,7 +577,7 @@ The possible settings for `align-region-separate' are:
577 (eq '- current-prefix-arg))))) 577 (eq '- current-prefix-arg)))))
578 578
579 (css-declaration 579 (css-declaration
580 (regexp . "^\\s-*\\w+:\\(\\s-*\\).*;") 580 (regexp . "^\\s-*\\(?:\\w-?\\)+:\\(\\s-*\\).*;")
581 (group . (1)) 581 (group . (1))
582 (modes . '(css-mode html-mode)))) 582 (modes . '(css-mode html-mode))))
583 "A list describing all of the available alignment rules. 583 "A list describing all of the available alignment rules.