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:
parent
9f5d3236b9
commit
723c911c93
1 changed files with 2 additions and 1 deletions
|
|
@ -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 ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue