Commit 347437a5 authored by Chong Yidong's avatar Chong Yidong
Browse files

* font-core.el (turn-on-font-lock-if-desired): Correctly handle

the case where font-lock-global-modes is a list that doesn't begin
with `not'.
parent ec7709ba
2009-06-19 David Casperson <casper@unbc.ca> (tiny change)
* font-core.el (turn-on-font-lock-if-desired): Correctly handle
the case where font-lock-global-modes is a list that doesn't begin
with `not'.
2009-06-19 Glenn Morris <rgm@gnu.org>
 
* subr.el (open-network-stream): Doc fix.
......
......@@ -291,7 +291,7 @@ means that Font Lock mode is turned on for buffers in C and C++ modes only."
t)
((eq (car-safe font-lock-global-modes) 'not)
(not (memq major-mode (cdr font-lock-global-modes))))
(t (memq major-mode (cdr font-lock-global-modes))))
(t (memq major-mode font-lock-global-modes)))
(let (inhibit-quit)
(turn-on-font-lock))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment