Skip to content

Commit bcb7244

Browse files
committed
Use Common Lisp style indenting for the IF-form.
1 parent 6bc0e55 commit bcb7244

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sys/load-sys2.lisp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@
8585
(let ((*package* (find-package :ide)))
8686
(with-input-from-string (in "") ;; to not let it hang, as it calls INDENT-LINES
8787
(let ((*standard-input* in))
88-
(load-file (concatenate 'string ccl::*cormanlisp-directory* "Sys\\scmindent\\lispindent.lisp")))))
88+
(load-file (concatenate 'string ccl::*cormanlisp-directory* "Sys\\scmindent\\lispindent.lisp"))))
89+
;; use Common Lisp style indenting for the IF form
90+
(setf (cdr (assoc "IF" ide::*lisp-keywords* :test #'string-equal)) -1))
8991
(load-file "sys/code-indenter.lisp")
9092
(load-file "sys/context-menu.lisp")
9193
(load-file "sys/setf-expander.lisp")

0 commit comments

Comments
 (0)