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

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

Re: void-variable c-subword-mode with debug-on-error


From: Nick Roberts
Subject: Re: void-variable c-subword-mode with debug-on-error
Date: Mon, 10 Apr 2006 10:58:55 +1200

Richard Stallman writes:
 >     >> emacs -Q -f toggle-debug-on-error test.c
 >     >> 
 >     >> the following error occurs:
 >     >> 
 >     >> Debugger entered--Lisp error: (void-variable c-subword-mode)
 > 
 > It did not happen for me on GNU/Linux.
 > (I fetched the sources today and rebuilt.)

I've had this problem before because I hadn't built Emacs correctly.  I think
it has something to do with cc-modes many macros and the order in which
they're byte compiled.  `make bootstrap' probably solves it but I just deleted
the byte compiled files associated with cc-mode (cc-*.elc) and did `make
recompile' in emacs/lisp followed by `make' in emacs/src, and that seemed to
solve it.


-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

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