comparison lisp/emacs-lisp/cl-macs.el @ 104405:3ee29a52fd4c

* emacs-lisp/cl-loaddefs.el (deftype): Add autoload for deftype. * emacs-lisp/cl-macs.el (deftype): Add autoload.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 22 Aug 2009 18:07:46 +0000
parents d2b52a0cf462
children
comparison
equal deleted inserted replaced
104404:7602fd69cd93 104405:3ee29a52fd4c
2430 (list accessor temp)))) 2430 (list accessor temp))))
2431 2431
2432 2432
2433 ;;; Types and assertions. 2433 ;;; Types and assertions.
2434 2434
2435 ;;;###autoload
2435 (defmacro deftype (name arglist &rest body) 2436 (defmacro deftype (name arglist &rest body)
2436 "Define NAME as a new data type. 2437 "Define NAME as a new data type.
2437 The type name can then be used in `typecase', `check-type', etc." 2438 The type name can then be used in `typecase', `check-type', etc."
2438 (list 'eval-when '(compile load eval) 2439 (list 'eval-when '(compile load eval)
2439 (cl-transform-function-property 2440 (cl-transform-function-property