[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r114390: * emacs-lisp/eieio.el (class-parent): Don't
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] trunk r114390: * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros. |
Date: |
Thu, 19 Sep 2013 07:15:03 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 114390
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2013-09-19 00:14:53 -0700
message:
* emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/emacs-lisp/eieio.el eieio.el-20091113204419-o5vbwnq5f7feedwu-10973
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2013-09-19 06:56:47 +0000
+++ b/lisp/ChangeLog 2013-09-19 07:14:53 +0000
@@ -1,5 +1,7 @@
2013-09-19 Glenn Morris <address@hidden>
+ * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
+
* eshell/em-unix.el (eshell-remove-entries):
Rename argument to avoid name-clash with global `top-level'.
=== modified file 'lisp/emacs-lisp/eieio.el'
--- a/lisp/emacs-lisp/eieio.el 2013-06-19 20:27:49 +0000
+++ b/lisp/emacs-lisp/eieio.el 2013-09-19 07:14:53 +0000
@@ -322,7 +322,10 @@
(defmacro eieio-class-parent (class)
"Return first parent class to CLASS. (overload of variable)."
`(car (eieio-class-parents ,class)))
-(define-obsolete-function-alias 'class-parent #'eieio-class-parent "24.4")
+
+(defmacro class-parent (class)
+ (declare (obsolete eieio-class-parent "24.4"))
+ '(eieio-class-parent class))
(defun same-class-p (obj class) "Return t if OBJ is of class-type CLASS."
(eieio--check-type class-p class)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r114390: * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.,
Glenn Morris <=