home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / emacs / help / 5491 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1008 b   |  28 lines

  1. Xref: sparky gnu.emacs.help:5491 comp.sys.next.misc:24050
  2. Newsgroups: gnu.emacs.help,comp.sys.next.misc
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!raven.alaska.edu!camelot.acf-lab!fxars
  4. From: fxars@camelot.acf-lab.alaska.edu (Allen R Sparks)
  5. Subject: .emacs file; text-mode-hook
  6. Message-ID: <FXARS.93Jan24194913@rama2.acf-lab.alaska.edu>
  7. Sender: news@raven.alaska.edu (USENET News System)
  8. Nntp-Posting-Host: rama2.acf-lab.alaska.edu
  9. Organization: University of Alaska Fairbanks
  10. Date: Mon, 25 Jan 1993 04:49:13 GMT
  11. Lines: 15
  12.  
  13. The folowing is in my .emacs file:
  14.  
  15.     (setq default-major-mode 'text-mode)
  16.     
  17.     (setq text-mode-hook
  18.       '(lambda () 
  19.          (auto-fill-mode 1)
  20.          (auto-save-mode 0)
  21.        )
  22.     )
  23.  
  24. Now when I bring up a file, emacs DOES place me in text-mode, and it
  25. DOES turn on auto-fill-mode automatically, but it DOESN'T turn off
  26. auto-save-mode.   I'm running emacs version 18.52 on the NeXT.
  27. === Al Sparks
  28.