Variable: dired-copy-how-to-fn

dired-copy-how-to-fn is a variable defined in dired-aux.el.gz.

Value

nil

Documentation

Either nil or a function used by dired-do-copy to determine target.

See HOW-TO argument for dired-do-create-files for an explanation.

Source Code

;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
;; This may not always be what you want, especially if target is your
;; home directory and it happens to be a symbolic link, as is often the
;; case with NFS and automounters.  Or if you want to make symlinks
;; into directories that themselves are only symlinks, also quite
;; common.

;; So we don't use this function as value for HOW-TO in
;; dired-do-symlink, which has the minor disadvantage of
;; making links *into* a symlinked-dir, when you really wanted to
;; *overwrite* that symlink.  In that (rare, I guess) case, you'll
;; just have to remove that symlink by hand before making your marked
;; symlinks.

(defvar dired-copy-how-to-fn nil
  "Either nil or a function used by `dired-do-copy' to determine target.
See HOW-TO argument for `dired-do-create-files' for an explanation.")