aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/cl-indent.el
diff options
context:
space:
mode:
authorSam Steingold <[email protected]>2000-08-07 16:51:57 +0000
committerSam Steingold <[email protected]>2000-08-07 16:51:57 +0000
commit5e9e032a38c132e9d1b2709c000ee7795b6be0fb (patch)
treee1d816ae36be4f64390c983e902c8c44b19bc537 /lisp/emacs-lisp/cl-indent.el
parent66b6c480a881982cdedf52e59b746e32cd79bf5e (diff)
* emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
`defconst', `define-condition', `with-slots'. * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
Diffstat (limited to 'lisp/emacs-lisp/cl-indent.el')
-rw-r--r--lisp/emacs-lisp/cl-indent.el15
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el
index 295a85b7ae..c74b5d66d5 100644
--- a/lisp/emacs-lisp/cl-indent.el
+++ b/lisp/emacs-lisp/cl-indent.el
@@ -382,13 +382,13 @@ by `lisp-body-indent'."
(catch 1)
(cond (&rest (&whole 2 &rest 1)))
(defvar (4 2 2))
- (defclass ((&whole 4 &rest (&whole 2 &rest 1))
- &rest (&whole 2 &rest 1)))
+ (defclass (6 4 (&whole 2 &rest 1) (&whole 2 &rest 1)))
(defconstant . defvar)
(defcustom (4 2 2 2))
(defparameter . defvar)
- (define-modify-macro
- (4 &body))
+ (defconst . defcustom)
+ (define-condition . defclass)
+ (define-modify-macro (4 &body))
(defsetf (4 &lambda 4 &body))
(defun (4 &lambda &body))
(define-setf-method . defun)
@@ -421,10 +421,8 @@ by `lisp-body-indent'."
(handler-bind . let) (restart-bind . let)
(locally 1)
;(loop ...)
- (multiple-value-bind
- ((&whole 6 &rest 1) 4 &body))
- (multiple-value-call
- (4 &body))
+ (multiple-value-bind ((&whole 6 &rest 1) 4 &body))
+ (multiple-value-call (4 &body))
(multiple-value-prog1 1)
(multiple-value-setq (4 2))
(multiple-value-setf . multiple-value-setq)
@@ -446,6 +444,7 @@ by `lisp-body-indent'."
(unwind-protect (5 &body))
(when 1)
(with-output-to-string (4 2))
+ (with-slots . multiple-value-bind)
(with-standard-io-syntax (2)))))
(while l
(put (caar l) 'common-lisp-indent-function