[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading a directory with (interactive "Dxxx")

From: Joakim Hove
Subject: Reading a directory with (interactive "Dxxx")
Date: Tue, 19 Apr 2005 10:51:20 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux)


I have function:

(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

Best Regards


Joakim Hove
hove AT ift uib no                 /    
Tlf: +47 (55 5)8 27 90            /     Stabburveien 18          
Fax: +47 (55 5)8 94 40           /      N-5231 Paradis      /       55 91 28 18 / 92 68 57 04

reply via email to

[Prev in Thread] Current Thread [Next in Thread]