From: Simen Heggestøyl Date: Mon, 9 Feb 2015 17:26:14 +0000 (-0500) Subject: Fixes: debbugs:19815 X-Git-Tag: emacs-25.0.90~2008^2~46 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=42c99697b685a908abb587d2b73878df25e9c34f;p=emacs.git Fixes: debbugs:19815 * lisp/textmodes/css-mode.el (css-smie-rules): Fix paren indent. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e86d62da05a..12d4c944f47 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2015-02-09 Simen Heggestøyl (tiny change) + + * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815). + 2015-02-09 Stefan Monnier * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body. diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index f6a3ca64dd9..44dc4dff3de 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el @@ -331,8 +331,8 @@ (`(:elem . basic) css-indent-offset) (`(:elem . arg) 0) (`(:list-intro . ,(or `";" `"")) t) ;"" stands for BOB (bug#15467). - (`(:before . "{") (if (smie-rule-hanging-p) - (smie-rule-parent 0))))) + (`(:before . ,(or "{" "(")) + (if (smie-rule-hanging-p) (smie-rule-parent 0))))) ;;;###autoload (define-derived-mode css-mode fundamental-mode "CSS"