unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* No setf-method known for funcall
@ 2005-08-18 12:31 kcin
  2005-08-18 14:24 ` Pascal Bourguignon
  0 siblings, 1 reply; 4+ messages in thread
From: kcin @ 2005-08-18 12:31 UTC (permalink / raw)


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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-19  3:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-18 12:31 No setf-method known for funcall kcin
2005-08-18 14:24 ` Pascal Bourguignon
2005-08-19  1:59   ` Barry Margolin
2005-08-19  3:47     ` Pascal Bourguignon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).