unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
Cc: bug-cc-mode@gnu.org
Subject: c-subword-mode
Date: Mon, 27 Feb 2006 11:50:47 +1300	[thread overview]
Message-ID: <17410.12487.182878.922032@kahikatea.snap.net.nz> (raw)


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


             reply	other threads:[~2006-02-26 22:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-26 22:50 Nick Roberts [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17410.12487.182878.922032@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=bug-cc-mode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).