Function: dired-mark-read-file-name
dired-mark-read-file-name is a byte-compiled function defined in
dired-aux.el.gz.
Signature
(dired-mark-read-file-name PROMPT DIR OP-SYMBOL ARG FILES &optional DEFAULT)
Source Code
;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
;; Read arguments for a marked-files command that wants a file name,
;; perhaps popping up the list of marked files.
;; ARG is the prefix arg and indicates whether the files came from
;; marks (ARG=nil) or a repeat factor (integerp ARG).
;; If the current file was used, the list has but one element and ARG
;; does not matter. (It is non-nil, non-integer in that case, namely '(4)).
;; DEFAULT is the default value to return if the user just hits RET;
;; if it is omitted or nil, then the name of the directory is used.
(defun dired-mark-read-file-name (prompt dir op-symbol arg files
&optional default)
(dired-mark-pop-up
nil op-symbol files
#'read-file-name
(format prompt (dired-mark-prompt arg files)) dir default))