1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00: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

@ -1,3 +1,8 @@
2002-03-15 Gerd Moellmann <gerd@gnu.org>
* emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
Fix simple loop indentation.
2002-03-14 Miles Bader <miles@gnu.org>
* net/rlogin.el (rlogin-mode): Use `define-derived-mode'.

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