diff options
author | Tom Tromey <tromey@redhat.com> | 2013-07-06 23:18:58 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-07-06 23:18:58 -0600 |
commit | 6dacdad5fcb278e5a16b38bb81786aac9ca27be4 (patch) | |
tree | f5f331ea361ba0f99e0f9b638d183ad492a7da31 /lisp/emacs-lisp/eieio.el | |
parent | 0a6f2ff0c8ceb29703e76cddd46ea3f176dd873a (diff) | |
parent | 219afb88d9d484393418820d1c08dc93299110ec (diff) | |
download | emacs-6dacdad5fcb278e5a16b38bb81786aac9ca27be4.tar.gz emacs-6dacdad5fcb278e5a16b38bb81786aac9ca27be4.tar.bz2 emacs-6dacdad5fcb278e5a16b38bb81786aac9ca27be4.zip |
merge from trunk
this merges frmo trunk and fixes various build issues.
this needed a few ugly tweaks.
this hangs in "make check" now
Diffstat (limited to 'lisp/emacs-lisp/eieio.el')
-rw-r--r-- | lisp/emacs-lisp/eieio.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eieio.el b/lisp/emacs-lisp/eieio.el index 3cdf1f078bd..fc5da3198f9 100644 --- a/lisp/emacs-lisp/eieio.el +++ b/lisp/emacs-lisp/eieio.el @@ -115,7 +115,12 @@ Options in CLOS not supported in EIEIO: Due to the way class options are set up, you can add any tags you wish, and reference them using the function `class-option'." - `(eieio-defclass ',name ',superclass ',slots ',options-and-doc)) + ;; This is eval-and-compile only to silence spurious compiler warnings + ;; about functions and variables not known to be defined. + ;; When eieio-defclass code is merged here and this becomes + ;; transparent to the compiler, the eval-and-compile can be removed. + `(eval-and-compile + (eieio-defclass ',name ',superclass ',slots ',options-and-doc))) ;;; CLOS style implementation of object creators. |