home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!hela.iti.org!cs.widener.edu!dsinc!netnews.upenn.edu!cronkite.ocis.temple.edu!astro.ocis.temple.edu!psampat
- From: psampat@astro.ocis.temple.edu (Pragnesh Sampat)
- Newsgroups: gnu.emacs.help
- Subject: adding something to the var auto-mode-alist
- Message-ID: <1992Nov20.195718.11134@cronkite.ocis.temple.edu>
- Date: 20 Nov 92 19:57:18 GMT
- Sender: news@cronkite.ocis.temple.edu (NetWork News (readnews))
- Organization: Temple University
- Lines: 7
- X-Newsreader: Tin 1.1 PL5
-
- I would like to add an element like ("\\.x$" . c-mode) to the variable
- auto-mode-alist to enter c-mode for editing files ending in .x. How can I
- do this in .emacs?
-
- Any help is appreciated. Thanks
-
- Pragnesh Sampat psampat@astro.ocis.temple.edu (215)787-6388
-