changeset 4256:1dabc28c10d0

[xemacs-hg @ 2007-11-08 07:12:39 by michaels] 2007-10-31 Mike Sperber <mike@xemacs.org> * autoload.el (make-autoload): Add `defclass' and `defmethod' as defmacro-like operators. This is need to enable compilation of packages that depend on eieio.
author michaels
date Thu, 08 Nov 2007 07:12:40 +0000
parents 4a6c7a225300
children ef6c55ab3090
files lisp/ChangeLog lisp/autoload.el
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Nov 07 22:51:15 2007 +0000
+++ b/lisp/ChangeLog	Thu Nov 08 07:12:40 2007 +0000
@@ -1,3 +1,9 @@
+2007-10-31  Mike Sperber  <mike@xemacs.org>
+
+	* autoload.el (make-autoload): Add `defclass' and `defmethod' as
+	defmacro-like operators.  This is need to enable compilation of
+	packages that depend on eieio.
+
 2007-10-26  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* mule/general-late.el:
--- a/lisp/autoload.el	Wed Nov 07 22:51:15 2007 +0000
+++ b/lisp/autoload.el	Thu Nov 08 07:12:40 2007 +0000
@@ -249,7 +249,8 @@
      ((memq car '(defun define-skeleton defmacro define-derived-mode
 		   define-generic-mode easy-mmode-define-minor-mode
 		   easy-mmode-define-global-mode
-		   define-minor-mode defun* defmacro*))
+		   define-minor-mode defun* defmacro*
+		   defclass defmethod)) ; from the EIEIO package
       (let* ((macrop (memq car '(defmacro defmacro*)))
 	     (name (nth 1 form))
 	     (body (nthcdr (get car 'doc-string-elt) form))
@@ -799,6 +800,8 @@
 (put 'easy-mmode-define-minor-mode 'doc-string-elt 2)
 (put 'define-minor-mode 'doc-string-elt 2)
 (put 'define-generic-mode 'doc-string-elt 7)
+(put 'defclass 'doc-string-elt 4)
+(put 'defmethod 'doc-string-elt 3)
 ;; defin-global-mode has no explicit docstring.
 (put 'easy-mmode-define-global-mode 'doc-string-elt 1000)