[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: buffer-read-only is always t at text-mode-hook time
From: |
Dan Jacobson |
Subject: |
Re: buffer-read-only is always t at text-mode-hook time |
Date: |
Sat, 14 Aug 2004 04:05:02 +0800 |
Ok it is not true that "buffer-read-only is always t at text-mode-hook time".
Of course my bogus bug report is not my fault,
> tell folks how also to set a hook just in case they need to
> override. Don't only mention just add-hook.
Rogers> Bad idea.
Well, with all the setq examples from the 80's gone, we'll just add and add, and
produce bogus bug reports.
rms> (add-hook 'text-mode-hook 'turn-on-auto-fill)
rms> should also show how to not turn it on for files one has no hope of
editing.
rms> Why bother to check? If you don't edit, it won't do anything.
Well, at least do so for flyspell.el where it counts.
OK, using (and (not buffer-read-only)(> 88888 (buffer-size))(flyspell-mode 1))
Over and out.
Message not available