|
From: | Stefan Monnier |
Subject: | bug#18321: 24.4.50; EIEIO and (defmethod (setf ...)) |
Date: | Tue, 05 May 2015 14:33:25 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> I was hoping this would work: > > (defclass hibob () > ((click-callback :initform nil) > (icon :initform "" :accessor hibob-icon))) > > (defmethod (setf hibob-icon) :after (newval (obj hibob)) > (setq zzzz newval)) > > This works in Common Lisp and is quite handy. IIUC this should now work if you use cl-defmethod. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |