all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.