Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!ut-sally!utah-cs!utah-gr!spline!thomas From: thomas%spline.uucp@utah-gr.UUCP (Spencer W. Thomas) Newsgroups: comp.emacs Subject: Re: Auto-load gripe Message-ID: <2123@utah-gr.UUCP> Date: Mon, 24-Aug-87 13:51:28 EDT Article-I.D.: utah-gr.2123 Posted: Mon Aug 24 13:51:28 1987 Date-Received: Tue, 25-Aug-87 03:30:21 EDT References: <1068@theory.cs.cmu.edu> Sender: news@utah-gr.UUCP Reply-To: thomas%spline.UUCP@utah-gr.UUCP (Spencer W. Thomas) Organization: Univ of Utah CS Dept Lines: 19 In article <1068@theory.cs.cmu.edu> dld@theory.cs.cmu.edu (David Detlefs) writes: >It would have made sense to me that when I put, say >(autoload 'ispell-buffer "ispell") >in my .emacs file, that thereafter 'ispell-buffer would be treated as >a known command. Ah, but if you read the documentation for the autoload function, you will see that there are more than 3 arguments. In particular: Third arg DOCSTRING is documentation for the function. Fourth arg INTERACTIVE if non-nil says function can be called interactively. Thus, you should be saying (autoload 'ispell-buffer "ispell" "Run ispell on the current buffer" T) If you don't, the missing arguments default to NIL, and ispell-buffer is assumed to not be an interactively callable command. =Spencer ({ihnp4,decvax}!utah-cs!thomas, thomas@cs.utah.edu)