emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master ac22f0a 02/79: Silence obsolete warnings.


From: Jackson Ray Hamilton
Subject: [elpa] master ac22f0a 02/79: Silence obsolete warnings.
Date: Sun, 14 Jun 2015 00:05:12 +0000

branch: master
commit ac22f0af20a85fe5d6b21d3403b596c5cb7aef10
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]