Files
emacs/etc
Stefan Monnier de727b5886 eieio-core.el: Allow assignment to cl-structs through slot-value
* lisp/emacs-lisp/eieio-core.el (eieio--validate-slot-value):
Obey the `:read-only` property of the slot.
(eieio-oset): Allow use on cl-structs as well.
(eieio-read-only): New error.

* test/lisp/emacs-lisp/eieio-tests/eieio-tests.el (eieio-test--struct):
Make the last field read-only.
(eieio-test-defstruct-slot-value): Test that cl-struct slots can be
assigned via `slot-value`.
2021-12-04 13:47:35 -05:00
..
2021-10-02 14:41:27 -04:00
2021-11-28 14:59:44 +01:00
2021-12-04 01:34:37 +01:00
2021-11-23 16:25:48 +02:00
2021-10-15 16:51:59 -04:00
2021-07-04 00:14:47 -04:00
2021-11-11 07:17:56 +01:00
2021-10-16 14:01:34 -04:00

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2021 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)