diff options
Diffstat (limited to 'lisp/net/tramp-cmds.el')
-rw-r--r-- | lisp/net/tramp-cmds.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/net/tramp-cmds.el b/lisp/net/tramp-cmds.el index 7d266ad17d7..58f1e2c6a9e 100644 --- a/lisp/net/tramp-cmds.el +++ b/lisp/net/tramp-cmds.el @@ -281,6 +281,12 @@ buffer in your bug report. (insert ")\n")) (insert-buffer-substring elbuf))) + ;; Dump load-path shadows. + (insert "\nload-path shadows:\n==================\n") + (ignore-errors + (mapc (lambda (x) (when (string-match "tramp" x) (insert x "\n"))) + (split-string (list-load-path-shadows t) "\n"))) + ;; Append buffers only when we are in message mode. (when (and (eq major-mode 'message-mode) |