Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ll-xn!cullvax!drw From: drw@cullvax.UUCP (Dale Worley) Newsgroups: comp.emacs Subject: use of 'interactive' Message-ID: <1428@cullvax.UUCP> Date: Tue, 4-Aug-87 10:24:09 EDT Article-I.D.: cullvax.1428 Posted: Tue Aug 4 10:24:09 1987 Date-Received: Thu, 6-Aug-87 01:32:29 EDT Organization: Cullinet Software, Westwood, MA, USA Lines: 20 mayer@hplabsz.hpl.hp.com writes: >How can I fool interactive "f" to give me "/dev/" as the default-directory, >instead of using the buffer-local default-directory? The online documentation for 'interactive' includes the note: If the argument is not a string, it is evaluated to get a list of arguments to pass to the function. Thus, you can write: (interactive (list (read-file-name "prompt:" "/directory/"))) I've tried this sort of thing; it works. Dale -- Dale Worley Cullinet Software ARPA: cullvax!drw@eddie.mit.edu UUCP: ...!seismo!harvard!mit-eddie!cullvax!drw From the Temple of St. Cathode of Vidicon: