branch: master commit ac22f0af20a85fe5d6b21d3403b596c5cb7aef10 Author: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com> Commit: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>
Silence obsolete warnings. --- test/context-coloring-test.el | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/context-coloring-test.el b/test/context-coloring-test.el index e22ee29..841587f 100644 --- a/test/context-coloring-test.el +++ b/test/context-coloring-test.el @@ -49,7 +49,8 @@ (defun context-coloring-test-cleanup () "Cleanup after all tests." - (setq context-coloring-comments-and-strings nil) + (with-no-warnings + (setq context-coloring-comments-and-strings nil)) (setq context-coloring-js-block-scopes nil) (setq context-coloring-colorize-hook nil) (setq context-coloring-check-scopifier-version-hook nil) @@ -1082,7 +1083,8 @@ see that function." (defun context-coloring-test-js-comments-and-strings-setup () "Setup comments and strings. Deprecated." - (setq context-coloring-comments-and-strings t)) + (with-no-warnings + (setq context-coloring-comments-and-strings t))) (context-coloring-test-deftest-js-mode comments-and-strings) (context-coloring-test-deftest-js2-mode comments-and-strings)