Function: shadow-copy-files
shadow-copy-files is an interactive and byte-compiled function defined
in shadowfile.el.gz.
Signature
(shadow-copy-files &optional ARG)
Documentation
Copy all pending shadow files.
With prefix argument, copy all pending files without query.
Pending copies are stored in variable shadow-files-to-copy, and in
shadow-todo-file if necessary. This function is invoked by
shadow-save-buffers-kill-emacs, so it is not usually necessary to
call it manually.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/shadowfile.el.gz
(defun shadow-copy-files (&optional arg)
"Copy all pending shadow files.
With prefix argument, copy all pending files without query.
Pending copies are stored in variable `shadow-files-to-copy', and in
`shadow-todo-file' if necessary. This function is invoked by
`shadow-save-buffers-kill-emacs', so it is not usually necessary to
call it manually."
(interactive "P")
(if (not shadow-files-to-copy)
(if (called-interactively-p 'interactive)
(message "No files need to be shadowed."))
(save-excursion
(map-y-or-n-p (lambda (pair)
(or arg shadow-noquery
(format "Copy shadow file %s? " (cdr pair))))
(function shadow-copy-file)
shadow-files-to-copy
'("shadow" "shadows" "copy"))
(shadow-write-todo-file t))))