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

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

Re: [newbie] getting emacs to recognize the ".cpp" file extension


From: Kai Großjohann
Subject: Re: [newbie] getting emacs to recognize the ".cpp" file extension
Date: Sun, 08 Sep 2002 22:06:56 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Brad Fonseca <address@hidden> writes:

> I was wondering if there is a way to get emacs to recognize the
> ".cpp" file extension as being a C++ file.  I'm guessing I'll be
> modifying my .emacs file somehow.

(add-to-list 'auto-mode-alist '("\\.cpp\\'" . c++-mode))

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)


reply via email to

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