]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix warning suppression in (S)CSS mode tests
authorSimen Heggestøyl <simenheg@runbox.com>
Sun, 15 May 2022 14:00:27 +0000 (16:00 +0200)
committerSimen Heggestøyl <simenheg@runbox.com>
Sun, 15 May 2022 14:05:24 +0000 (16:05 +0200)
* test/lisp/textmodes/css-mode-tests.el (css-mode-test-selectors)
(scss-mode-test-selectors): Fix warning suppression.

test/lisp/textmodes/css-mode-tests.el

index 555a73c3bbec7a19ddb89eb3b5fdeb87e52bd58e..a746edf89445008f76c78f0e779b8a935f0518d1 100644 (file)
          (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)
          (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)