unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* c-subword-mode
@ 2006-02-26 22:50 Nick Roberts
  2006-03-01 17:55 ` c-subword-mode Richard Stallman
  2006-03-01 20:34 ` c-subword-mode Alan Mackenzie
  0 siblings, 2 replies; 6+ messages in thread
From: Nick Roberts @ 2006-02-26 22:50 UTC (permalink / raw)
  Cc: bug-cc-mode


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"
  		       "")))


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-03-04 13:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-26 22:50 c-subword-mode Nick Roberts
2006-03-01 17:55 ` c-subword-mode Richard Stallman
2006-03-01 20:39   ` c-subword-mode Nick Roberts
2006-03-04 13:38     ` c-subword-mode Richard Stallman
2006-03-01 20:34 ` c-subword-mode Alan Mackenzie
2006-03-01 20:48   ` c-subword-mode Nick Roberts

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).