From: Simen Heggestøyl Date: Sun, 15 May 2022 14:00:27 +0000 (+0200) Subject: Fix warning suppression in (S)CSS mode tests X-Git-Tag: emacs-29.0.90~1910^2~666 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f171a36c0ad7a0b5b69c3d4bad2875c54e2ccdd9;p=emacs.git 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. --- 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)