unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Add functions to C-mode?
@ 2008-04-19 11:04 saneman
  2008-04-19 13:01 ` Ph. Ivaldi
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: saneman @ 2008-04-19 11:04 UTC (permalink / raw)
  To: help-gnu-emacs

I would like to add/change the comment/uncomment function in the C-mode 
for emacs.

Currently it only works when a piece of text is selected and then /* */ 
is inserted.

I would like to change the function to just insert // even though some 
text might not be selected.

Is that possible?


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

end of thread, other threads:[~2008-04-22  9:39 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-19 11:04 Add functions to C-mode? saneman
2008-04-19 13:01 ` Ph. Ivaldi
2008-04-19 17:16 ` David Hansen
     [not found] ` <mailman.10583.1208625909.18990.help-gnu-emacs@gnu.org>
2008-04-19 21:08   ` Jason Rumney
2008-04-20  7:17     ` David Hansen
2008-04-20 12:26       ` Eli Zaretskii
2008-04-20 12:42         ` David Hansen
2008-04-20 13:51           ` Eli Zaretskii
2008-04-22  9:36             ` David Hansen
     [not found]         ` <mailman.10609.1208696003.18990.help-gnu-emacs@gnu.org>
2008-04-20 13:28           ` Richard G Riley
2008-04-22  9:39             ` David Hansen
2008-04-20 12:01 ` Alan Mackenzie
     [not found] ` <mailman.10605.1208691810.18990.help-gnu-emacs@gnu.org>
2008-04-21  7:36   ` saneman
2008-04-21 10:51     ` Alan Mackenzie
     [not found]     ` <mailman.10650.1208777518.18990.help-gnu-emacs@gnu.org>
2008-04-21 11:49       ` Richard G Riley
2008-04-21 20:35         ` Alan Mackenzie
     [not found]         ` <mailman.10668.1208809134.18990.help-gnu-emacs@gnu.org>
2008-04-22  4:00           ` Richard G Riley

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