aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/eieio-base.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/eieio-base.el')
-rw-r--r--lisp/emacs-lisp/eieio-base.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/eieio-base.el b/lisp/emacs-lisp/eieio-base.el
index 7975cdf280d..e032a9effdf 100644
--- a/lisp/emacs-lisp/eieio-base.el
+++ b/lisp/emacs-lisp/eieio-base.el
@@ -209,8 +209,7 @@ All slots are unbound, except those initialized with PARAMS."
209(cl-defmethod make-instance ((class (subclass eieio-named)) &rest args) 209(cl-defmethod make-instance ((class (subclass eieio-named)) &rest args)
210 (if (not (stringp (car args))) 210 (if (not (stringp (car args)))
211 (cl-call-next-method) 211 (cl-call-next-method)
212 (funcall (if eieio-backward-compatibility #'ignore #'message) 212 (message "Obsolete: name passed without :object-name to %S constructor"
213 "Obsolete: name passed without :object-name to %S constructor"
214 class) 213 class)
215 (apply #'cl-call-next-method class :object-name args))) 214 (apply #'cl-call-next-method class :object-name args)))
216 215