Notes on troubles I've had with GNU Emacs

A random scrapbook of problems and solutions for things I've stubbed my toe on with GNU Emacs.


Starting up Emacs24 one day, and the C++ setup didn't get run. I enabled

(setq debug-on-error t)

in my .emacs.d/init.el and saw:

c-font-lock-fontify-region: Symbol's function definition is void: nil

Running with emacs -Q to disable startup scripts saw everything working, so it's something in init.el. A bit of guesswork/triangulation later, and it's this line:

'(font-lock-mode t t (font-lock))

in (custom-set-variables.

I suspect this is an old line turning on global font lock. Now replaced by global-font-lock-mode which appears to be on by default anyway. I removed the line and all is now well.

 
emacserrors.txt · Last modified: 2014/09/16 08:55 by jim
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0