home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / emacs / help / 4888 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  794 b 

  1. 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
  2. From: psampat@astro.ocis.temple.edu (Pragnesh Sampat)
  3. Newsgroups: gnu.emacs.help
  4. Subject: adding something to the var auto-mode-alist
  5. Message-ID: <1992Nov20.195718.11134@cronkite.ocis.temple.edu>
  6. Date: 20 Nov 92 19:57:18 GMT
  7. Sender: news@cronkite.ocis.temple.edu (NetWork News (readnews))
  8. Organization: Temple University
  9. Lines: 7
  10. X-Newsreader: Tin 1.1 PL5
  11.  
  12. I would like to add an element like ("\\.x$" . c-mode) to the variable
  13. auto-mode-alist to enter c-mode for editing files ending in .x. How can I
  14. do this in .emacs? 
  15.  
  16. Any help is appreciated. Thanks
  17.  
  18. Pragnesh Sampat        psampat@astro.ocis.temple.edu    (215)787-6388
  19.