]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
authorOleh Krehel <ohwoeowho@gmail.com>
Thu, 25 Jun 2015 11:14:29 +0000 (13:14 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Thu, 25 Jun 2015 11:17:30 +0000 (13:17 +0200)
* lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
  `with-output-to-string' should have the same indent as `progn'.
  This is in line with the declaration of `with-output-to-string'.

lisp/emacs-lisp/cl-indent.el

index 57da7159d5c2f777c43783815110cffe14ff8fc3..9314419a26fd9f0387921830ef5132ba01120619 100644 (file)
@@ -827,7 +827,7 @@ optional\\|rest\\|key\\|allow-other-keys\\|aux\\|whole\\|body\\|environment\
            (with-accessors . multiple-value-bind)
            (with-condition-restarts . multiple-value-bind)
           (with-compilation-unit (&lambda &body))
-           (with-output-to-string (4 2))
+           (with-output-to-string 0)
            (with-slots . multiple-value-bind)
            (with-standard-io-syntax (2)))))
   (dolist (el l)