projects
/
elisp
/
flim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
814b446
)
(luna-class-find-member): Don't search parents' method-spaces.
author
tomo
<tomo>
Tue, 23 Apr 2002 05:02:15 +0000
(
05:02
+0000)
committer
tomo
<tomo>
Tue, 23 Apr 2002 05:02:15 +0000
(
05:02
+0000)
luna.el
patch
|
blob
|
history
diff --git
a/luna.el
b/luna.el
index
b307ad9
..
0aee9f7
100644
(file)
--- a/
luna.el
+++ b/
luna.el
@@
-97,15
+97,7
@@
The optional 2nd arg SLOTS is a list of slots CLASS will have."
(defun luna-class-find-member (class member-name)
(or (stringp member-name)
(setq member-name (symbol-name member-name)))
(defun luna-class-find-member (class member-name)
(or (stringp member-name)
(setq member-name (symbol-name member-name)))
- (or (intern-soft member-name (luna-class-obarray class))
- (let ((parents (luna-class-parents class))
- ret)
- (while (and parents
- (null
- (setq ret (luna-class-find-member
- (luna-find-class (pop parents))
- member-name)))))
- ret)))
+ (intern-soft member-name (luna-class-obarray class)))
;; Return a member (slot or method) of CLASS that has name
;; Return a member (slot or method) of CLASS that has name