diff lisp/font-core.el @ 60005:6e156606b5c5

(font-lock-default-function): Use with-no-warnings.
author Richard M. Stallman <rms@gnu.org>
date Thu, 10 Feb 2005 06:45:26 +0000
parents 83af8894e534
children b76b7700df8d 3ebd9bdb4fe5
line wrap: on
line diff
--- a/lisp/font-core.el	Thu Feb 10 06:44:41 2005 +0000
+++ b/lisp/font-core.el	Thu Feb 10 06:45:26 2005 +0000
@@ -203,7 +203,8 @@
   ;; `font-lock-defaults'.
   (when (or font-lock-defaults
 	    (and (boundp 'font-lock-keywords) font-lock-keywords)
-	    (cdr (assq major-mode font-lock-defaults-alist)))
+	    (with-no-warnings
+	     (cdr (assq major-mode font-lock-defaults-alist))))
     (font-lock-mode-internal mode)))
 
 (defun turn-on-font-lock ()