Joakim Hove <[EMAIL PROTECTED]> writes:

> (defun store (directory)
>   (interactive "DPath to store in:")
>   (.....))
>
> Which queries the user for an existing directory, and then stores a
> file in there. The minibuffer dialog employs the working directory of
> the current buffer as default, however I would like to provide my own
> default, in general different from the working directory. Is this
> possible?

What about doing this instead:

 (interactive)
 ...
 (read-directory-name "Enter dir: " "~/")

/Mathias
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to