1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

(common-lisp-loop-part-indentation):

Fix simple loop indentation.
This commit is contained in:
Gerd Moellmann 2002-03-15 08:57:55 +00:00
parent ad4ace7a65
commit 9309787357
2 changed files with 6 additions and 1 deletions

View file

@ -127,7 +127,7 @@ If nil, indent backquoted lists as data, i.e., like quoted lists."
(goto-char indent-point)
(beginning-of-line)
(cond ((not (extended-loop-p (elt state 1)))
lisp-simple-loop-indentation)
(+ loop-indentation lisp-simple-loop-indentation))
((looking-at "^\\s-*\\(:?\\sw+\\|;\\)")
(+ loop-indentation lisp-loop-keyword-indentation))
(t