aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMichael Albinus <[email protected]>2011-02-28 11:58:59 +0100
committerMichael Albinus <[email protected]>2011-02-28 11:58:59 +0100
commit22b300dea0c02b7b7ce32a399ceec3ee603b2bed (patch)
treed3740fc64bc96ea6db507dc61f92372e658cf502 /lisp
parent584a2773996c7f4cd9d84ede8d7817328c88e765 (diff)
* net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path shadows.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/tramp-cmds.el6
2 files changed, 11 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 05541c793d..83b29a7e55 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-28 Michael Albinus <[email protected]>
+
+ * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
+ shadows.
+
2011-02-28 Antoine Levitt <[email protected]> (tiny change)
* dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
diff --git a/lisp/net/tramp-cmds.el b/lisp/net/tramp-cmds.el
index 7d266ad17d..58f1e2c6a9 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)