diff options
author | Richard M. Stallman <rms@gnu.org> | 2005-02-10 06:45:26 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2005-02-10 06:45:26 +0000 |
commit | 723c911c93ca003d3c0cfb94bb3deea4f5ca949e (patch) | |
tree | 3ed8ffee2f50ac5f16073465cb1f5600b33cb895 /lisp/font-core.el | |
parent | 9f5d3236b9d24311ad27a63f69edd461eea078a7 (diff) | |
download | emacs-723c911c93ca003d3c0cfb94bb3deea4f5ca949e.tar.gz emacs-723c911c93ca003d3c0cfb94bb3deea4f5ca949e.tar.bz2 emacs-723c911c93ca003d3c0cfb94bb3deea4f5ca949e.zip |
(font-lock-default-function): Use with-no-warnings.
Diffstat (limited to 'lisp/font-core.el')
-rw-r--r-- | lisp/font-core.el | 3 |
1 files changed, 2 insertions, 1 deletions
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 () |