summaryrefslogtreecommitdiff
path: root/lisp/align.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/align.el')
-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:
(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.