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.
This commit is contained in:
parent
cfedc2872e
commit
f171a36c0a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue