[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: void-variable c-subword-mode with debug-on-error
From: |
Richard Stallman |
Subject: |
Re: void-variable c-subword-mode with debug-on-error |
Date: |
Fri, 14 Apr 2006 00:19:11 -0400 |
Richard, can you try this in a windowed session, and if so, can you
try clicking the menu bar?
I now get the error even before clicking.
It seems to occur because cc-langs.el has been loaded
and cc-subword.el has not been.
This patch fixes it. Someone please install it if I don't.
*** cc-langs.el 25 Feb 2006 13:52:56 -0500 1.37
--- cc-langs.el 13 Apr 2006 16:42:24 -0400
***************
*** 231,236 ****
--- 231,239 ----
;;; Various mode specific values that aren't language related.
+ ;; Prevent errors before c-subword is loaded.
+ (defvar c-subword-mode nil)
+
(c-lang-defconst c-mode-menu
;; The definition for the mode menu. The menu title is prepended to
;; this before it's fed to `easy-menu-define'.
- Re: void-variable c-subword-mode with debug-on-error, (continued)
- Re: void-variable c-subword-mode with debug-on-error, Eli Zaretskii, 2006/04/13
- Re: void-variable c-subword-mode with debug-on-error, Stefan Monnier, 2006/04/13
- Re: void-variable c-subword-mode with debug-on-error, Eli Zaretskii, 2006/04/13
- Re: void-variable c-subword-mode with debug-on-error, Stefan Monnier, 2006/04/13
- Re: void-variable c-subword-mode with debug-on-error, Eli Zaretskii, 2006/04/14
- Re: void-variable c-subword-mode with debug-on-error, Eli Zaretskii, 2006/04/14
- Re: void-variable c-subword-mode with debug-on-error, Stefan Monnier, 2006/04/14
- Re: void-variable c-subword-mode with debug-on-error, Eli Zaretskii, 2006/04/14
- Re: void-variable c-subword-mode with debug-on-error, Stefan Monnier, 2006/04/14
- Re: void-variable c-subword-mode with debug-on-error, Eli Zaretskii, 2006/04/14
- Re: void-variable c-subword-mode with debug-on-error,
Richard Stallman <=
- Re: void-variable c-subword-mode with debug-on-error, Eli Zaretskii, 2006/04/14
- Re: void-variable c-subword-mode with debug-on-error, Stefan Monnier, 2006/04/14
- Re: void-variable c-subword-mode with debug-on-error, Richard Stallman, 2006/04/14
- Re: void-variable c-subword-mode with debug-on-error, Eli Zaretskii, 2006/04/15
- Re: void-variable c-subword-mode with debug-on-error, Eli Zaretskii, 2006/04/13