]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix for lisp tagbody indentation
authorRyan Brown <ryan@derivita.com>
Tue, 9 Jul 2019 13:51:50 +0000 (15:51 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 9 Jul 2019 13:51:50 +0000 (15:51 +0200)
* lisp/emacs-lisp/cl-indent.el (lisp-indent-259): Indent PROG
better (bug#36552).

lisp/emacs-lisp/cl-indent.el

index 10af440008d444216e3ace96cd4a2d8d99c991ca..ad5f31713aff16b9ab1e196af02a6910a2b141dd 100644 (file)
@@ -593,7 +593,7 @@ optional\\|rest\\|key\\|allow-other-keys\\|aux\\|whole\\|body\\|environment\
                    (null (cdr method)))
               (lisp-indent-report-bad-format method))
 
-          (cond ((and tail (not (consp tem)))
+          (cond ((and tail (not (or (consp tem) (symbolp tem))))
                  ;; indent tail of &rest in same way as first elt of rest
                  (throw 'exit normal-indent))
                 ((eq tem '&body)