all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.