help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

major mode in emacs


From: Peng, Guiai [IT]
Subject: major mode in emacs
Date: Thu, 30 Nov 2000 09:23:05 -0500

Dear Sir/Madam,
I am a C++ programmer and I use emacs to edit C++ 
sourec and header files. In my project, we name 
header file with suffix ".h". But by default, emacs 
treat any header file with suffix ".h" as a c header 
file. so every time emacs read in my header file, it is 
in c major mode instead of c++ major mode. I have 
to manually change it to c++ mode. Do you know 
what I should do so that emacs treat ".h" as a C++ 
header file suffix? Thanks a lot.

guiai





reply via email to

[Prev in Thread] Current Thread [Next in Thread]