the case where font-lock-global-modes is a list that doesn't begin
with `not'.
+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.
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))))