changeset 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 2832745c4aee
children dfc2b4718048
files lisp/font-core.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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 ()