summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-12-19 15:26:36 +0100
committerStefan Kangas <stefan@marxist.se>2021-12-19 15:26:36 +0100
commit09af054dabd163125571ac470834cdb6de5ba672 (patch)
treee2be7819133dc3d6d962369aac7ef1da524bf962 /test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
parentbc13902d3a069089792a65129efa6ed3176cac60 (diff)
downloademacs-09af054dabd163125571ac470834cdb6de5ba672.tar.gz
emacs-09af054dabd163125571ac470834cdb6de5ba672.tar.bz2
emacs-09af054dabd163125571ac470834cdb6de5ba672.zip
Silence "initform needs quoting" warning in tests
* test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el (persist-simple): * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el (class-a) (class-c, inittest, slotattr-base, slotattr-ok) (slotattr-class-base, slotattr-class-ok, IT): Silence byte-compiler warnings about "ambiguous initform needs quoting".
Diffstat (limited to 'test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el')
-rw-r--r--test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el b/test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
index fd044ff3734..d1183b81c6c 100644
--- a/test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
+++ b/test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
@@ -99,7 +99,7 @@ This is usually a symbol that starts with `:'."
(defclass persist-simple (eieio-persistent)
((slot1 :initarg :slot1
:type symbol
- :initform moose)
+ :initform 'moose)
(slot2 :initarg :slot2
:initform "foo")
(slot3 :initform 2))