[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: confused about emacs
From: |
Brendan Halpin |
Subject: |
Re: confused about emacs |
Date: |
Tue, 12 Sep 2006 21:37:25 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"jronald" <followait@163.com> writes:
> When I open an .cpp file, the major-mode is set to c++-mode automatically.
> Is it hard coded in emacs, or in any better way?
>
>
See the variable auto-mode-alist -- do C-h v auto-mode-alist RET
and read about it.
Brendan
--
Brendan Halpin, Department of Sociology, University of Limerick, Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F2-025 x 3147
mailto:brendan.halpin@ul.ie http://www.ul.ie/sociology/brendan.halpin.html