From ecacb319d30626a22e1dd87367d233e323c362aa Mon Sep 17 00:00:00 2001 From: Fanael Linithien Date: Tue, 16 Sep 2014 20:13:14 +0200 Subject: [PATCH] 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 0d4d571..fb44af7 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 ()