diff options
author | Simen Heggestøyl <simenheg@runbox.com> | 2022-05-15 16:00:27 +0200 |
---|---|---|
committer | Simen Heggestøyl <simenheg@runbox.com> | 2022-05-15 16:05:24 +0200 |
commit | f171a36c0ad7a0b5b69c3d4bad2875c54e2ccdd9 (patch) | |
tree | c303f6151c7627081260588086daa3ece8fe2bd5 | |
parent | cfedc2872e7ee56e4da6e5e557786ab66ddbbf23 (diff) | |
download | emacs-f171a36c0ad7a0b5b69c3d4bad2875c54e2ccdd9.tar.gz |
Fix warning suppression in (S)CSS mode tests
* test/lisp/textmodes/css-mode-tests.el (css-mode-test-selectors)
(scss-mode-test-selectors): Fix warning suppression.
-rw-r--r-- | test/lisp/textmodes/css-mode-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/textmodes/css-mode-tests.el b/test/lisp/textmodes/css-mode-tests.el index 555a73c3bbe..a746edf8944 100644 --- a/test/lisp/textmodes/css-mode-tests.el +++ b/test/lisp/textmodes/css-mode-tests.el @@ -424,7 +424,7 @@ (with-temp-buffer (insert-file-contents (ert-resource-file "css-selectors.txt")) (string-lines (buffer-string))))) - (with-suppressed-warnings ((interactive font-lock-debug-fontif)) + (with-suppressed-warnings ((interactive-only font-lock-debug-fontify)) (dolist (selector selectors) (with-temp-buffer (css-mode) @@ -474,7 +474,7 @@ (with-temp-buffer (insert-file-contents (ert-resource-file "scss-selectors.txt")) (string-lines (buffer-string))))) - (with-suppressed-warnings ((interactive font-lock-debug-fontif)) + (with-suppressed-warnings ((interactive-only font-lock-debug-fontify)) (dolist (selector selectors) (with-temp-buffer (scss-mode) |