Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!usc!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!+ From: Damon.Lipparelli@CS.CMU.EDU Newsgroups: comp.emacs Subject: text-mode-hook Message-ID: Date: 8 Apr 90 19:15:20 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 12 Hello. I'm having trouble with the text-mode-hook feature. I'd like to set things so that when I enter text mode, I'm automatically put into auto-fill mode as well. I tried setting the variable text-mode-hook to be auto-fill-mode (ie, "(setq text-mode-hook 'auto-fill-mode)"), but I get the error "Wrong number of arguments" and then a lambda expression. I assume that this means that auto-fill-mode is expecting arguments (as documented it can take one), but I can just type auto-fill-mode to the mode-line and it toggles auto-fill. What am I missing? Thanks in advance, Damon Lipparelli (lipp@cs.cmu.edu)