]> git.eshelyaron.com Git - emacs.git/commit
Fix typo in test of read-only cl-defstruct slot.
authorEarl Hyatt <okamsn@protonmail.com>
Sat, 29 Mar 2025 21:30:48 +0000 (17:30 -0400)
committerEshel Yaron <me@eshelyaron.com>
Thu, 3 Apr 2025 16:49:17 +0000 (18:49 +0200)
commit56614caf21e0a117d7a6d6a37e4260b2a107396b
tree8ca286fc54bcb39eb24b4e7e53b71b8cca27bb40
parent6e4ef6931e9067ea22fa016750424022bef6225d
Fix typo in test of read-only cl-defstruct slot.

* test/lisp/emacs-lisp/cl-macs-tests.el (mystruct)
(cl-lib-struct-accessors): Use ":read-only" instead of ":readonly".

* test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-struct-accessors):
Test using `setf' on read-only accessor to make sure the correct keyword
is used.

(cherry picked from commit 6f311883d246df87fa3ed9c24dbb39078e3fd69f)
test/lisp/emacs-lisp/cl-macs-tests.el