projects
/
elisp
/
lemi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sync with flim-1_14_4.
[elisp/lemi.git]
/
emacs-lisp
/
luna.el
diff --git
a/emacs-lisp/luna.el
b/emacs-lisp/luna.el
index
b307ad9
..
0199aed
100644
(file)
--- a/
emacs-lisp/luna.el
+++ b/
emacs-lisp/luna.el
@@
-1,6
+1,6
@@
;;; luna.el --- tiny OOP system kernel
;;; luna.el --- tiny OOP system kernel
-;; Copyright (C) 1999,2000 Free Software Foundation, Inc.
+;; Copyright (C) 1999,2000,2002 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <tomo@m17n.org>
;; Keywords: OOP
;; Author: MORIOKA Tomohiko <tomo@m17n.org>
;; Keywords: OOP
@@
-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