[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
complete the word
From: |
Baloff |
Subject: |
complete the word |
Date: |
14 Aug 2005 14:06:20 +1000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Hello
when I create a new .cpp file, considering that I have in my .emacs
(add-hook 'c++-mode-hook
'(lambda ()
(turn-on-auto-fill) ;;Insert a newline if line gets to long.
(c-toggle-auto-state 1) ;;Make ; and { and } and : all electric
(c-set-style "mc394-style")))
how do I get emacs to write "nclude" if I type "#i" and it is at the
beginning of a line. so that when I type
#i
it appears
#include
I have cedet but not sure if that makes any different.
thanks
- complete the word,
Baloff <=