emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master d34bfbc: Fix for lisp tagbody indentation


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master d34bfbc: Fix for lisp tagbody indentation
Date: Tue, 9 Jul 2019 09:53:40 -0400 (EDT)

branch: master
commit d34bfbc09cc90ae59ef303d78cc286dd12918d7c
Author: Ryan Brown <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Fix for lisp tagbody indentation
    
    * lisp/emacs-lisp/cl-indent.el (lisp-indent-259): Indent PROG
    better (bug#36552).
---
 lisp/emacs-lisp/cl-indent.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el
index 10af440..ad5f317 100644
--- a/lisp/emacs-lisp/cl-indent.el
+++ b/lisp/emacs-lisp/cl-indent.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]