+2002-09-26 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
+
+ * luna.el (luna-define-method): Clear method cache of child
+ classes.
+
2002-09-24 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
* mime-ja.texi (CVS): Escape @.
(sym (luna-class-find-or-make-member
(luna-find-class ',class) ',name))
(cache (get ',name 'luna-method-cache)))
- (if cache
- (unintern (symbol-name ',class) cache))
+ (and cache
+ (fboundp sym)
+ (mapatoms
+ (lambda (s)
+ (if (memq (symbol-function sym) (symbol-value s))
+ (unintern s cache)))
+ cache))
(fset sym func)
(put sym 'luna-method-qualifier ,method-qualifier))))