unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* A question about interactive
@ 2013-03-21  6:46 C K Kashyap
  2013-03-21 13:24 ` Drew Adams
  0 siblings, 1 reply; 6+ messages in thread
From: C K Kashyap @ 2013-03-21  6:46 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

Here's what I want to do  - I'd like to write utility 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
 this

(defun my-script-load (script-name)
             (interactive "fEnter script name: ")
             (load script-name)
)

Now, the problem is that  the ineractive "f" seems to use the current
buffer location as the starting point. How can I change that?

Regards,
Kashyap

[-- Attachment #2: Type: text/html, Size: 718 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-22 14:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-21  6:46 A question about interactive C K Kashyap
2013-03-21 13:24 ` Drew Adams
2013-03-22  6:59   ` C K Kashyap
2013-03-22  7:18     ` Drew Adams
2013-03-22 11:24       ` C K Kashyap
2013-03-22 14:45         ` Drew Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).