diff options
| author | Michael Albinus | 2018-07-30 11:11:32 +0200 |
|---|---|---|
| committer | Michael Albinus | 2018-07-30 11:11:32 +0200 |
| commit | 63ef79329935b790b9c8107125bce66e1f272c2e (patch) | |
| tree | 2886ebbf431b4a9c22189d58a649ec0f4c8b4caf /lisp | |
| parent | bd36ab560d5efcc5853e455c2312cf1a104e78ea (diff) | |
| download | emacs-63ef79329935b790b9c8107125bce66e1f272c2e.tar.gz emacs-63ef79329935b790b9c8107125bce66e1f272c2e.zip | |
; Instrumentation for shadowfile.el
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/shadowfile.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/shadowfile.el b/lisp/shadowfile.el index 1e680770ece..86280c38adf 100644 --- a/lisp/shadowfile.el +++ b/lisp/shadowfile.el | |||
| @@ -646,7 +646,8 @@ Consider them as regular expressions if third arg REGEXP is true." | |||
| 646 | "Use \\[shadow-copy-files] to update shadows.")) | 646 | "Use \\[shadow-copy-files] to update shadows.")) |
| 647 | (sit-for 1)) | 647 | (sit-for 1)) |
| 648 | (message "shadow-add-to-todo 8") | 648 | (message "shadow-add-to-todo 8") |
| 649 | (shadow-write-todo-file))) | 649 | (shadow-write-todo-file) |
| 650 | (message "shadow-add-to-todo 9"))) | ||
| 650 | nil) ; Return nil for write-file-functions | 651 | nil) ; Return nil for write-file-functions |
| 651 | 652 | ||
| 652 | (defun shadow-remove-from-todo (pair) | 653 | (defun shadow-remove-from-todo (pair) |
| @@ -723,8 +724,9 @@ With non-nil argument also saves the buffer." | |||
| 723 | (delete-region (point-min) (point-max)) | 724 | (delete-region (point-min) (point-max)) |
| 724 | (message "shadow-write-todo-file 4 %s" shadow-todo-buffer) | 725 | (message "shadow-write-todo-file 4 %s" shadow-todo-buffer) |
| 725 | (shadow-insert-var 'shadow-files-to-copy) | 726 | (shadow-insert-var 'shadow-files-to-copy) |
| 726 | (message "shadow-write-todo-file 5 %s" shadow-todo-buffer) | 727 | (message "shadow-write-todo-file 5 %s" save) |
| 727 | (if save (shadow-save-todo-file)))) | 728 | (if save (shadow-save-todo-file)) |
| 729 | (message "shadow-write-todo-file 6 %s" save))) | ||
| 728 | 730 | ||
| 729 | (defun shadow-save-todo-file () | 731 | (defun shadow-save-todo-file () |
| 730 | (message "shadow-save-todo-file 1 %s" shadow-todo-buffer) | 732 | (message "shadow-save-todo-file 1 %s" shadow-todo-buffer) |