home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / emacs / 4062 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.2 KB  |  36 lines

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!cs.utexas.edu!convex!constellation!iapa!ctrbdo
  3. From: ctrbdo@iapa.uucp%mailhost.ecn.uoknor.edu (bryan d oakley)
  4. Subject: Re: auto-fill-mode
  5. In-Reply-To: cc2955@sarah.albany.edu's message of Mon, 25 Jan 93 18:22:27 GMT
  6. Message-ID: <C1FMB6.3nn@iapa.uucp%mailhost.ecn.uoknor.edu>
  7. Organization: FAA / Mike Monroney Aeronautical Center
  8. References: <1993Jan25.182227.20903@sarah.albany.edu>
  9. Date: Mon, 25 Jan 1993 22:54:39 GMT
  10. Lines: 24
  11.  
  12. >>>>> Regarding auto-fill-mode; cc2955@sarah.albany.edu (Charley Chen) adds:
  13.  
  14.  
  15. Charley> Can someone tell me how to have auto-fill-mode on everytime I
  16. Charley> use emacs?  besides using M-x auto-fill-mode everytime I use
  17. Charley> it.  Thanks
  18.  
  19. here's what's in my .emacs file (well, really my .emacs.el file, but
  20. why cloud the issue?):
  21.  
  22. (setq text-mode-hook
  23.       '(lambda ()
  24.      (auto-fill-mode 1)
  25.      ))
  26.  
  27. I also do this for mail-mode, outline-mode and dbx-mode.  Add to your
  28. own favorite major mode and get to work.  
  29.  
  30.  
  31. -- 
  32. /'''  ---------------------------------------------------------------
  33. c-OO  Instrument Approach Procedures Automation       DOT/FAA/AMI-230
  34.    \  ---------------------------------------------------------------
  35.   -   Bryan D. Oakley            ctrbdo%iapa@constellation.uoknor.edu
  36.