That worked, thanks.  I guess using the java-mode-hook is still ok,
perhaps some of my earlier problems were due to my binding to it
incorrectly (setqing "java-mode-hook" instead of using "add-hook").

> -----Original Message-----
> From: Michael Schupp [mailto:[EMAIL PROTECTED] 
> 
> David once wrote:
> >
> > The part I can't figure out is how to set "auto-fill-mode". 
>  I'd like 
> > the ability to auto-fill when I'm writing comments, which this 
> > provides. I didn't see any obvious information in the user 
> guide that 
> > talks about this.
> >
> i think you might want something like this:
> 
> (add-hook 'java-mode-hook
>           '(lambda ()
>              (auto-fill-mode 1)))

Reply via email to