1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(font-lock-default-function): Use with-no-warnings.

This commit is contained in:
Richard M. Stallman 2005-02-10 06:45:26 +00:00
parent 9f5d3236b9
commit 723c911c93

View file

@ -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 ()