bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7771: 23.1; can't turn off font-lock-mode globally


From: K. Richard Pixley
Subject: bug#7771: 23.1; can't turn off font-lock-mode globally
Date: Sun, 02 Jan 2011 17:20:06 -0800
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

On 20110102 15:49, Stefan Monnier wrote:
(global-font-lock-mode 0) doesn't seem to work.
It should work.  So please tell us the cases where it doesn't work, so
we can try and figure out where's the problem.
After starting emacs with "emacs -q", call (global-font-lock-mode 0) by hand, then visit a python file. For me, it is font-locked.

When I call (global-font-lock-mode 0) in my .emacs.el, python mode isn't font locked. But if I ever M-x python-shell, then files visited afterward will be font locked, even though global-ton-lock-mode's value is nil. At this point I have to restart emacs in order to see anything.

--rich





reply via email to

[Prev in Thread] Current Thread [Next in Thread]