Function: shadow-cancel
shadow-cancel is an interactive and byte-compiled function defined in
shadowfile.el.gz.
Signature
(shadow-cancel)
Documentation
Cancel the instruction to copy some files.
Prompts for which copy operations to cancel. You will not be asked to copy
them again, unless you make more changes to the files. To cancel a shadow
permanently, remove the group from shadow-literal-groups or
shadow-regexp-groups.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/shadowfile.el.gz
(defun shadow-cancel ()
"Cancel the instruction to copy some files.
Prompts for which copy operations to cancel. You will not be asked to copy
them again, unless you make more changes to the files. To cancel a shadow
permanently, remove the group from `shadow-literal-groups' or
`shadow-regexp-groups'."
(interactive)
(map-y-or-n-p (lambda (pair)
(format "Cancel copying %s to %s? "
(car pair) (cdr pair)))
(lambda (pair)
(shadow-remove-from-todo pair))
shadow-files-to-copy
'("shadow" "shadows" "cancel copy"))
(message "There are %d shadows to be updated."
(length shadow-files-to-copy))
(shadow-write-todo-file))