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

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

[h-e-w] autofill question


From: Underwood, Jonathan
Subject: [h-e-w] autofill question
Date: Wed, 26 Jun 2002 17:13:27 -0400

Hi

I'm wondering why the following code in my .emacs fails to turn off
auto-fill-mode for makefile-mode and sh-mode. I'm sure i'm missing something
obvious...

;; auto-fill
(setq-default fill-column 80)
(setq-default auto-fill-function 'do-auto-fill)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(add-hook 'sh-mode-hook 'turn-off-auto-fill)
(add-hook 'makefile-mode-hook 'turn-off-auto-fill)

jonathan.



reply via email to

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