]> git.eshelyaron.com Git - emacs.git/commitdiff
; Instrumentation for shadowfile.el
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 29 Jul 2018 16:35:43 +0000 (18:35 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 29 Jul 2018 16:35:43 +0000 (18:35 +0200)
lisp/shadowfile.el

index 609086772a91e7cc12480871ae2ef1c9cbf9a4ae..dc7c1b8c1a95aae83c8a543a97ece4e05218c128 100644 (file)
@@ -636,12 +636,16 @@ Consider them as regular expressions if third arg REGEXP is true."
                  (shadow-expand-file-name
                   (buffer-file-name (current-buffer))))))
     (when shadows
+      (message "shadow-add-to-todo 5 %s" shadows)
+      (message "shadow-add-to-todo 6 %s" shadow-files-to-copy)
+      (message "shadow-add-to-todo 7 %s" (shadow-union shadows shadow-files-to-copy))
       (setq shadow-files-to-copy
            (shadow-union shadows shadow-files-to-copy))
       (when (not shadow-inhibit-message)
        (message "%s" (substitute-command-keys
                       "Use \\[shadow-copy-files] to update shadows."))
        (sit-for 1))
+      (message "shadow-add-to-todo 8")
       (shadow-write-todo-file)))
   nil)     ; Return nil for write-file-functions