Commit 9a0289a2 authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/emacs-lisp/eieio.el (class-parent): Undo previous change.

Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00354.html
parent e189e54e
2013-09-19 Glenn Morris <rgm@gnu.org>
* emacs-lisp/eieio.el (class-parent): Undo previous change.
2013-09-19 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
......
......@@ -322,10 +322,7 @@ The CLOS function `class-direct-subclasses' is aliased to this function."
(defmacro eieio-class-parent (class)
"Return first parent class to CLASS. (overload of variable)."
`(car (eieio-class-parents ,class)))
(defmacro class-parent (class)
(declare (obsolete eieio-class-parent "24.4"))
'(eieio-class-parent class))
(define-obsolete-function-alias 'class-parent 'eieio-class-parent "24.4")
(defun same-class-p (obj class) "Return t if OBJ is of class-type CLASS."
(eieio--check-type class-p class)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment