home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky gnu.emacs.help:5491 comp.sys.next.misc:24050
- Newsgroups: gnu.emacs.help,comp.sys.next.misc
- 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
- From: fxars@camelot.acf-lab.alaska.edu (Allen R Sparks)
- Subject: .emacs file; text-mode-hook
- Message-ID: <FXARS.93Jan24194913@rama2.acf-lab.alaska.edu>
- Sender: news@raven.alaska.edu (USENET News System)
- Nntp-Posting-Host: rama2.acf-lab.alaska.edu
- Organization: University of Alaska Fairbanks
- Date: Mon, 25 Jan 1993 04:49:13 GMT
- Lines: 15
-
- The folowing is in my .emacs file:
-
- (setq default-major-mode 'text-mode)
-
- (setq text-mode-hook
- '(lambda ()
- (auto-fill-mode 1)
- (auto-save-mode 0)
- )
- )
-
- Now when I bring up a file, emacs DOES place me in text-mode, and it
- DOES turn on auto-fill-mode automatically, but it DOESN'T turn off
- auto-save-mode. I'm running emacs version 18.52 on the NeXT.
- === Al Sparks
-