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

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

[elpa] externals/easy-escape c87d76e 17/27: Suppress spurious warning


From: ELPA Syncer
Subject: [elpa] externals/easy-escape c87d76e 17/27: Suppress spurious warning
Date: Tue, 14 Sep 2021 17:57:32 -0400 (EDT)

branch: externals/easy-escape
commit c87d76e5001f36fbbf975e9ce7e776acd2dd7776
Author: Clément Pit--Claudel <clement.pitclaudel@live.com>
Commit: Clément Pit--Claudel <clement.pitclaudel@live.com>

    Suppress spurious warning
---
 easy-escape.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/easy-escape.el b/easy-escape.el
index bed61cc..9b1ca00 100644
--- a/easy-escape.el
+++ b/easy-escape.el
@@ -44,6 +44,8 @@
 
 ;;; Code:
 
+(require 'font-lock)
+
 (defgroup easy-escape nil
   "Improve readability of escape characters"
   :group 'programming)
@@ -112,7 +114,7 @@ and the single slash too subtle, try the following:
     (font-lock-remove-keywords nil easy-escape--keywords))
   (if (>= emacs-major-version 25)
       (font-lock-flush)
-    (font-lock-fontify-buffer)))
+    (with-no-warnings (font-lock-fontify-buffer))))
 
 (provide 'easy-escape)
 ;;; easy-escape.el ends here



reply via email to

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