• akater's avatar
    EIEIO: Prevent excessive evaluation of :initform · 109c2734
    akater authored
    * lisp/emacs-lisp/eieio.el (initialize-instance):
    Do not evaluate initform of a slot when initarg for the slot is provided,
    according to the following secitons of CLHS:
    - Object Creation and Initialization
    - Initialization Arguments
    - Defaulting of Initialization Arguments
    - Rules for Initialization Arguments
    * test/lisp/emacs-lisp/eieio-etests/eieio-tests.el:
    Add corresponding tests
    Fix a typo
eieio.el 39.4 KB