Function: oset
oset is a macro defined in eieio.el.gz.
Signature
(oset OBJ SLOT VALUE)
Documentation
Set the value in OBJ for slot SLOT to VALUE.
SLOT is the slot name as specified in defclass or the tag created
with in the :initarg slot. VALUE can be any Lisp object.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/eieio.el.gz
;;; Object Set macros
;;
(defmacro oset (obj slot value)
"Set the value in OBJ for slot SLOT to VALUE.
SLOT is the slot name as specified in `defclass' or the tag created
with in the :initarg slot. VALUE can be any Lisp object."
(declare (debug (form symbolp form)))
`(eieio-oset ,obj (quote ,slot) ,value))