diff options
| author | akater | 2021-07-12 14:15:54 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2021-07-16 15:40:08 -0400 |
| commit | 109c27341e35fae778b95e0eb5d4d72927bf4ea8 (patch) | |
| tree | 02033cc7f712d8f10935aa108455d7b4b6188e77 /src/coding.c | |
| parent | 24a8cc5e707affad345e085b6fe8c778559533f6 (diff) | |
| download | emacs-109c27341e35fae778b95e0eb5d4d72927bf4ea8.tar.gz emacs-109c27341e35fae778b95e0eb5d4d72927bf4ea8.zip | |
EIEIO: Prevent excessive evaluation of :initform
* 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
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions