Function: oset-default

oset-default is a macro defined in eieio.el.gz.

Signature

(oset-default CLASS SLOT VALUE)

Documentation

Set the default slot in CLASS for SLOT to VALUE.

The default value is usually set with the :initform tag during class creation. This allows users to change the default behavior of classes after they are created.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/eieio.el.gz
(defmacro oset-default (class slot value)
  "Set the default slot in CLASS for SLOT to VALUE.
The default value is usually set with the :initform tag during class
creation.  This allows users to change the default behavior of classes
after they are created."
  (declare (debug (form symbolp form)))
  `(eieio-oset-default ,class (quote ,slot) ,value))