Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f7544773
Commit
f7544773
authored
Sep 19, 2013
by
Glenn Morris
Browse files
* emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
parent
72fd2877
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/emacs-lisp/eieio.el
lisp/emacs-lisp/eieio.el
+4
-1
No files found.
lisp/ChangeLog
View file @
f7544773
2013-09-19 Glenn Morris <rgm@gnu.org>
* 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'.
...
...
lisp/emacs-lisp/eieio.el
View file @
f7544773
...
...
@@ -322,7 +322,10 @@ 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
)))
(
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment