(unwind-protect
(condition-case err
(progn
+ (require 'trace)
+ (dolist (elt (all-completions "shadow-" obarray 'functionp))
+ (trace-function-background (intern elt)))
+ (trace-function-background 'save-buffer)
;; Cleanup.
(when (file-exists-p shadow-info-file)
(delete-file shadow-info-file))
shadow-files-to-copy)))
(error (message "Error: %s" err) (signal (car err) (cdr err))))
+ (untrace-all)
+ (message "%s" (with-current-buffer trace-buffer (buffer-string)))
+
;; Cleanup.
(when (file-exists-p shadow-info-file)
(delete-file shadow-info-file))