unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Text mode vs Programming modes
@ 2003-12-05 18:50 Matthew Hinton
  2003-12-05 23:29 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Hinton @ 2003-12-05 18:50 UTC (permalink / raw)


I have the following in my .emacs to activate fill and flyspell in text 
mode.  It also activates fill and flyspell in html-helper mode and I 
would prefer it didn't.  What can I do to fix this?

(custom-set-variables
  '(text-mode-hook (quote (turn-on-auto-fill flyspell-mode \ 
text-mode-hook-identify)))
)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Text mode vs Programming modes
  2003-12-05 18:50 Text mode vs Programming modes Matthew Hinton
@ 2003-12-05 23:29 ` Kevin Rodgers
  2003-12-08 18:48   ` Matthew Hinton
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2003-12-05 23:29 UTC (permalink / raw)


Matthew Hinton wrote:

> I have the following in my .emacs to activate fill and flyspell in text 
> mode.  It also activates fill and flyspell in html-helper mode and I 
> would prefer it didn't.  What can I do to fix this?
> 
> (custom-set-variables
>  '(text-mode-hook (quote (turn-on-auto-fill flyspell-mode \ 
> text-mode-hook-identify)))
> )

(add-hook 'html-helper-mode-hook 'turn-off-auto-fill)

(add-hook 'html-helper-mode-hook 'flyspell-mode-off)

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Text mode vs Programming modes
  2003-12-05 23:29 ` Kevin Rodgers
@ 2003-12-08 18:48   ` Matthew Hinton
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Hinton @ 2003-12-08 18:48 UTC (permalink / raw)


Thanks a lot that did the trick.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-08 18:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-05 18:50 Text mode vs Programming modes Matthew Hinton
2003-12-05 23:29 ` Kevin Rodgers
2003-12-08 18:48   ` Matthew Hinton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).