[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 98ba1c6: Fix compilation warning i eieio-base
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 98ba1c6: Fix compilation warning i eieio-base |
Date: |
Sun, 16 Jun 2019 11:21:13 -0400 (EDT) |
branch: master
commit 98ba1c6b52898c5f72f2d6e5c845c8d9386f98f5
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Fix compilation warning i eieio-base
* lisp/emacs-lisp/eieio-base.el (clone): Use eieio-object-class
instead of obsolete function class-of.
---
lisp/emacs-lisp/eieio-base.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/eieio-base.el b/lisp/emacs-lisp/eieio-base.el
index 203541f..0b2909c 100644
--- a/lisp/emacs-lisp/eieio-base.el
+++ b/lisp/emacs-lisp/eieio-base.el
@@ -71,7 +71,7 @@ All slots are unbound, except those initialized with PARAMS."
(let ((nobj (if (stringp (car params))
(cl-call-next-method obj (pop params))
(cl-call-next-method obj))))
- (dolist (descriptor (eieio-class-slots (class-of nobj)))
+ (dolist (descriptor (eieio-class-slots (eieio-object-class nobj)))
(let ((slot (eieio-slot-descriptor-name descriptor)))
(slot-makeunbound nobj slot)))
(when params
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 98ba1c6: Fix compilation warning i eieio-base,
Lars Ingebrigtsen <=