aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2018-07-29 18:35:43 +0200
committerMichael Albinus2018-07-29 18:35:43 +0200
commitc92fd4e0e0ef3d132b8beeb5f4ecaf3a6451616e (patch)
treec14951d061e60d040bb85fd986b2d5964830558d
parentb3f7e73fb76a366dc644ee2e6b9f4897c17d201d (diff)
downloademacs-c92fd4e0e0ef3d132b8beeb5f4ecaf3a6451616e.tar.gz
emacs-c92fd4e0e0ef3d132b8beeb5f4ecaf3a6451616e.zip
; Instrumentation for shadowfile.el
-rw-r--r--lisp/shadowfile.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/shadowfile.el b/lisp/shadowfile.el
index 609086772a9..dc7c1b8c1a9 100644
--- a/lisp/shadowfile.el
+++ b/lisp/shadowfile.el
@@ -636,12 +636,16 @@ Consider them as regular expressions if third arg REGEXP is true."
636 (shadow-expand-file-name 636 (shadow-expand-file-name
637 (buffer-file-name (current-buffer)))))) 637 (buffer-file-name (current-buffer))))))
638 (when shadows 638 (when shadows
639 (message "shadow-add-to-todo 5 %s" shadows)
640 (message "shadow-add-to-todo 6 %s" shadow-files-to-copy)
641 (message "shadow-add-to-todo 7 %s" (shadow-union shadows shadow-files-to-copy))
639 (setq shadow-files-to-copy 642 (setq shadow-files-to-copy
640 (shadow-union shadows shadow-files-to-copy)) 643 (shadow-union shadows shadow-files-to-copy))
641 (when (not shadow-inhibit-message) 644 (when (not shadow-inhibit-message)
642 (message "%s" (substitute-command-keys 645 (message "%s" (substitute-command-keys
643 "Use \\[shadow-copy-files] to update shadows.")) 646 "Use \\[shadow-copy-files] to update shadows."))
644 (sit-for 1)) 647 (sit-for 1))
648 (message "shadow-add-to-todo 8")
645 (shadow-write-todo-file))) 649 (shadow-write-todo-file)))
646 nil) ; Return nil for write-file-functions 650 nil) ; Return nil for write-file-functions
647 651