branch: elpa/rainbow-delimiters
commit ecacb319d30626a22e1dd87367d233e323c362aa
Author: Fanael Linithien <[email protected]>
Commit: Fanael Linithien <[email protected]>

    Wrap the font-lock-fontify-buffer call with with-no-warnings.
    
    font-lock-fontify-buffer is for interactive use only in Emacs >= 24.5.
---
 rainbow-delimiters.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index 0d4d571cb1..fb44af773d 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -572,7 +572,7 @@ Used by font-lock for dynamic highlighting."
   (when font-lock-mode
     (if (fboundp 'font-lock-flush)
         (font-lock-flush)
-      (font-lock-fontify-buffer))))
+      (with-no-warnings (font-lock-fontify-buffer)))))
 
 ;;;###autoload
 (defun rainbow-delimiters-mode-enable ()

Reply via email to