Function: shadow-write-todo-file
shadow-write-todo-file is a byte-compiled function defined in
shadowfile.el.gz.
Signature
(shadow-write-todo-file &optional SAVE)
Documentation
Write out information to shadow-todo-file.
With non-nil argument also saves the buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/shadowfile.el.gz
(defun shadow-write-todo-file (&optional save)
"Write out information to `shadow-todo-file'.
With non-nil argument also saves the buffer."
(save-excursion
(if (not shadow-todo-buffer)
(setq shadow-todo-buffer
(shadow-find-file-noselect shadow-todo-file)))
(set-buffer shadow-todo-buffer)
(setq buffer-read-only nil)
(delete-region (point-min) (point-max))
(shadow-insert-var 'shadow-files-to-copy)
(if save (shadow-save-todo-file))))