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:
parent
ad4ace7a65
commit
9309787357
@ -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'.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user