help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

adding hook to auto-mode-alist load


From: Todd Wylie
Subject: adding hook to auto-mode-alist load
Date: Thu, 21 Aug 2003 16:09:45 -0500

Greetings-

I recently changed my dot-file to automatically invoke 
paragraph-indent-text-mode for files of type *.plan like so:

(setq auto-mode-alist (cons '("\.plan$" . paragraph-indent-text-mode) 
auto-mode-alist))

But, I'd also like to load auto-fill-mode just for this type of file. Can I add 
a text-mode-hook for this setup?

Kind regards,
TW




reply via email to

[Prev in Thread] Current Thread [Next in Thread]