HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f5d323
)
(font-lock-default-function): Use with-no-warnings.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 10 Feb 2005 06:45:26 +0000
(06:45 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 10 Feb 2005 06:45:26 +0000
(06:45 +0000)
lisp/font-core.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/font-core.el
b/lisp/font-core.el
index
bbe1961
..
ea1880b
100644
(file)
--- 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 ()