comparison lisp/emacs-lisp/eieio.el @ 104487:5fabb7947fa5

* emacs-lisp/autoload.el (make-autoload): Handle defclass form. * emacs-lisp/eieio.el (eieio-defclass-autoload): Autoload.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 07 Sep 2009 18:01:27 +0000
parents a64f3429f0ac
children 25e047f7f6a2
comparison
equal deleted inserted replaced
104486:1ca7a97e0322 104487:5fabb7947fa5
329 (eieio-defclass ',name ',superclass ',slots ',options-and-doc))) 329 (eieio-defclass ',name ',superclass ',slots ',options-and-doc)))
330 330
331 (defvar eieio-defclass-autoload-map (make-vector 7 nil) 331 (defvar eieio-defclass-autoload-map (make-vector 7 nil)
332 "Symbol map of superclasses we find in autoloads.") 332 "Symbol map of superclasses we find in autoloads.")
333 333
334 ;;;###autoload
334 (defun eieio-defclass-autoload (cname superclasses filename doc) 335 (defun eieio-defclass-autoload (cname superclasses filename doc)
335 "Create autoload symbols for the EIEIO class CNAME. 336 "Create autoload symbols for the EIEIO class CNAME.
336 SUPERCLASSES are the superclasses that CNAME inherites from. 337 SUPERCLASSES are the superclasses that CNAME inherites from.
337 DOC is the docstring for CNAME. 338 DOC is the docstring for CNAME.
338 This function creates a mock-class for CNAME and adds it into 339 This function creates a mock-class for CNAME and adds it into