emacs - 'Symbol's function definition is void: nil' which symbol? -
i'm getting next error when starting emacs: (as shown messages buffer):
c-font-lock-fontify-region: symbol's function definition void: nil
how track downwards causing error in function? debug-on-error true, still doesn't give more info here.
the symbol nil
. not name function.
generally speaking, debug error, need set debug-on-error
t
, @ *backtrace*
buffer. if no *backtrace*
buffer appears (which case here), means caller of function signals error catches error. need chase code looking condition-case
, disable it. luck :-(
looking @ c-font-lock-fontify-region
definition in progmodes/cc-mode.el
, see there
(funcall (default-value 'font-lock-fontify-region-function) new-beg new-end verbose)
which can cause error if (default-value 'font-lock-fontify-region-function)
nil
.
emacs elisp
No comments:
Post a Comment