help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No setf-method known for funcall


From: kcin
Subject: No setf-method known for funcall
Date: 18 Aug 2005 05:31:07 -0700
User-agent: G2/0.2

I'd like to setf a "place" which is retrieved indirectly with a funcall
call:


(defstruct my
  a b)

(setq myinstance (make-my))

(setf (my-a myinstance) 33)             ; this works

(setq my-get-func 'my-a)
(setf (funcall my-get-func myinstance) 33)
    ; this doesn't work
    ; "No setf-method known for funcall"


Any ideas?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]