diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el index 00988c6..854449a 100644 --- a/rainbow-delimiters.el +++ b/rainbow-delimiters.el @@ -266,8 +266,7 @@ Used by font-lock for dynamic highlighting." ;; Obsolete equivalent of `syntax-begin-function'. (when (bound-and-true-p font-lock-beginning-of-syntax-function) (setq flush-needed t) - (with-no-warnings - (set (make-local-variable 'font-lock-beginning-of-syntax-function) nil))) + (set (make-local-variable 'font-lock-beginning-of-syntax-function) nil)) (when flush-needed ;; We modified `syntax-begin-function', so flush the cache to avoid ;; getting cached values that used the old value.