mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 02:31:03 -08:00
Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs
This commit is contained in:
commit
ce88920edb
2 changed files with 30 additions and 15 deletions
|
|
@ -498,6 +498,15 @@ All slots are unbound, except those initialized with PARAMS."
|
|||
(concat nm "-1")))))
|
||||
nobj))
|
||||
|
||||
(cl-defmethod make-instance ((class (subclass eieio-named)) &rest args)
|
||||
(if (not (stringp (car args)))
|
||||
(cl-call-next-method)
|
||||
(funcall (if eieio-backward-compatibility #'ignore #'message)
|
||||
"Obsolete: name passed without :object-name to %S constructor"
|
||||
class)
|
||||
(apply #'cl-call-next-method class :object-name args)))
|
||||
|
||||
|
||||
(provide 'eieio-base)
|
||||
|
||||
;;; eieio-base.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue