From 723c911c93ca003d3c0cfb94bb3deea4f5ca949e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 10 Feb 2005 06:45:26 +0000 Subject: [PATCH] (font-lock-default-function): Use with-no-warnings. --- lisp/font-core.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/font-core.el b/lisp/font-core.el index bbe1961e51e..ea1880baac7 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el @@ -203,7 +203,8 @@ this function onto `change-major-mode-hook'." ;; `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 () -- 2.39.5