all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* best way to add commands to c-mode??....
@ 2002-10-23 18:46 seberino
  0 siblings, 0 replies; 3+ messages in thread
From: seberino @ 2002-10-23 18:46 UTC (permalink / raw)


Is this the simplest way to add commands to c-mode?...

(defun cs-c-mode() (interactive)
  (c-mode)
  (c-set-style "K&R")
  (setq c-basic-offset 3)
  (local-set-key "\C-d" 'cs-kill-line))


Did I have to define a new mode/function to add
these 3 commands??

Chris
-- 
_______________________________________

Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2363
49590 Lassing Road, Room A339
San Diego, CA 92152-6147
U.S.A.

Phone: (619) 553-7940
Fax:   (619) 553-1269
Email: seberino@spawar.navy.mil
_______________________________________

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

end of thread, other threads:[~2002-10-23 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1035398914.30879.help-gnu-emacs@gnu.org>
2002-10-23 19:46 ` best way to add commands to c-mode?? Michael Slass
2002-10-23 21:01   ` seberino
2002-10-23 18:46 seberino

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.