diff options
| author | Richard M. Stallman | 2005-02-10 06:45:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-02-10 06:45:26 +0000 |
| commit | 723c911c93ca003d3c0cfb94bb3deea4f5ca949e (patch) | |
| tree | 3ed8ffee2f50ac5f16073465cb1f5600b33cb895 | |
| parent | 9f5d3236b9d24311ad27a63f69edd461eea078a7 (diff) | |
| download | emacs-723c911c93ca003d3c0cfb94bb3deea4f5ca949e.tar.gz emacs-723c911c93ca003d3c0cfb94bb3deea4f5ca949e.zip | |
(font-lock-default-function): Use with-no-warnings.
| -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'." | |||
| 203 | ;; `font-lock-defaults'. | 203 | ;; `font-lock-defaults'. |
| 204 | (when (or font-lock-defaults | 204 | (when (or font-lock-defaults |
| 205 | (and (boundp 'font-lock-keywords) font-lock-keywords) | 205 | (and (boundp 'font-lock-keywords) font-lock-keywords) |
| 206 | (cdr (assq major-mode font-lock-defaults-alist))) | 206 | (with-no-warnings |
| 207 | (cdr (assq major-mode font-lock-defaults-alist)))) | ||
| 207 | (font-lock-mode-internal mode))) | 208 | (font-lock-mode-internal mode))) |
| 208 | 209 | ||
| 209 | (defun turn-on-font-lock () | 210 | (defun turn-on-font-lock () |