emacs-devel
[Top][All Lists]
Advanced

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

c-subword-mode


From: Nick Roberts
Subject: c-subword-mode
Date: Mon, 27 Feb 2006 11:50:47 +1300

With CC Mode 5.31.3 and GNU Emacs 22.0.50.71 (i686-pc-linux-gnu, X toolkit,
Xaw3d scroll bars) of 2006-02-25:

Sometimes I get error messages saying that c-subword-mode is a void variable.
c-subword-mode seems to be a function, so the patch below might be a fix.

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


*** cc-cmds.el  25 Feb 2006 17:51:43 +1300      1.44
--- cc-cmds.el  27 Feb 2006 11:43:36 +1300      
*************** With universal argument, inserts the ana
*** 259,265 ****
                     (if c-hungry-delete-key "h" "")
                     (if (and
                          ;; cc-subword might not be loaded.
!                         (boundp 'c-subword-mode)
                          (symbol-value 'c-subword-mode))
                         "w"
                       "")))
--- 259,265 ----
                     (if c-hungry-delete-key "h" "")
                     (if (and
                          ;; cc-subword might not be loaded.
!                         (fboundp 'c-subword-mode)
                          (symbol-value 'c-subword-mode))
                         "w"
                       "")))




reply via email to

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