From: Kin Cho <ignore-this-prefixkin@techie.com>
Subject: Re: Modifying auto-mode-alist in .emacs
Date: 15 Feb 2004 17:04:15 -0800 [thread overview]
Message-ID: <7iisi7zvg0.fsf@neoscale.com> (raw)
In-Reply-To: mailman.2432.1076868062.928.help-gnu-emacs@gnu.org
(add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode))
-kin
exits funnel <exitsfunnel@yahoo.com> writes:
> Hello,
>
> I've made some customizations to c++ mode which work
> pretty well. Unfortunately when I visit a header file
> with the extension '.h', the file is opened in c-mode.
> I'm trying to figure out what I need to add to my
> .emacs file to get emacs to open these header files in
> c++ mode. I've been poking around the info pages and
> I've read about auto-mode-alist but I can't figure out
> how to make the appropriate change to this variable in
> my .emacs file. If someone could help me with this
> I'd really appreciate it. Thanks in advance.
>
> -exits
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
next parent reply other threads:[~2004-02-16 1:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2432.1076868062.928.help-gnu-emacs@gnu.org>
2004-02-16 1:04 ` Kin Cho [this message]
2004-02-15 18:00 Modifying auto-mode-alist in .emacs exits funnel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7iisi7zvg0.fsf@neoscale.com \
--to=ignore-this-prefixkin@techie.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).