|
From: | C K Kashyap |
Subject: | Re: A question about interactive |
Date: | Fri, 22 Mar 2013 12:29:31 +0530 |
> Here's what I want to do - I'd like to write utility> this: (interactive "fEnter script name: ")
> functions in different el files and store them in a
> particular directory. then write a function in .emacs
> - say - my-script-load ... What I'd like it to do is
>In the `interactive' spec, let-bind `default-directory' and then read the file
> Now, the problem is that the ineractive "f" seems to
> use the current buffer location as the starting point.
> How can I change that?
name with `read-file-name'. See the doc for `interactive'.
[Prev in Thread] | Current Thread | [Next in Thread] |