summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-tests.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2024-10-02 11:53:30 +0200
committerStefan Kangas <stefankangas@gmail.com>2024-10-02 12:03:45 +0200
commit67e807d897077b7c982104b528e2504591214a29 (patch)
tree5e719a350dd8af43ae5bd0c1bb11966f2aa7b3c2 /test/lisp/emacs-lisp/bytecomp-tests.el
parent9e51815265b9837a8311ee28af39e6b78dd18e29 (diff)
downloademacs-67e807d897077b7c982104b528e2504591214a29.tar.gz
emacs-67e807d897077b7c982104b528e2504591214a29.tar.bz2
emacs-67e807d897077b7c982104b528e2504591214a29.zip
; Fix thinko in my last change
* lisp/emacs-lisp/bytecomp.el (bytecomp--custom-declare): Fix thinko. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-test-defcustom-local): Update test.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-tests.el')
-rw-r--r--test/lisp/emacs-lisp/bytecomp-tests.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el
index 69918e9c0c3..caece633459 100644
--- a/test/lisp/emacs-lisp/bytecomp-tests.el
+++ b/test/lisp/emacs-lisp/bytecomp-tests.el
@@ -1991,6 +1991,9 @@ EXPECTED-POINT BINDINGS (MODES \\='\\='(ruby-mode js-mode python-mode)) \
(rx ":local keyword does not accept 'symbol") (dc 'symbol))
(bytecomp--with-warning-test
(rx ":local keyword does not accept \"string\"") (dc "string"))
+ (bytecomp--without-warning-test (dc t))
+ (bytecomp--without-warning-test (dc 'permanent))
+ (bytecomp--without-warning-test (dc 'permanent-only))
))
(ert-deftest bytecomp-test-defface-spec ()