On Sun, Oct 9, 2011 at 7:23 AM, Jai Dayal
<dayalsoap@gmail.com> wrote:
enable font-lock-mode
either
M-x font-lock-mode
or in your new .emacs file
(global-font-lock-mode 1)On Sat, Oct 8, 2011 at 9:34 PM, Shiyuan
<gshy2014@gmail.com> wrote:
Hi, I lost the font color in c++-mode after I deleted the .emacs file mistakenly. What do I need in my .emacs in order to display different colors in c++-mode? Thanks.
Shiyuan
font-lock should be on by default no? (At least in recent emacses)
So... Whats your emacs-version? ie M-x emacs-version
And what is the behavior when you start it with emacs -Q foo.cpp?