diff options
| author | Michael Albinus | 2016-05-11 16:50:56 +0200 |
|---|---|---|
| committer | Michael Albinus | 2016-05-11 16:50:56 +0200 |
| commit | d32f204856958f2e2412550da17de4e976aa0074 (patch) | |
| tree | 91b8d977e2fe6a13c45e24f41a8ff2df55a7cb94 | |
| parent | 4c7f32977c4fad322a80e33a2e397aa8496ed9ba (diff) | |
| download | emacs-d32f204856958f2e2412550da17de4e976aa0074.tar.gz emacs-d32f204856958f2e2412550da17de4e976aa0074.zip | |
; Remove instrumentation of tramp.el
| -rw-r--r-- | lisp/net/tramp.el | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 9f678554654..6f30f395cd4 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -2846,20 +2846,6 @@ User is always nil." | |||
| 2846 | (let ((v (tramp-dissect-file-name file t))) | 2846 | (let ((v (tramp-dissect-file-name file t))) |
| 2847 | ;; Run the command on the localname portion only unless we are in | 2847 | ;; Run the command on the localname portion only unless we are in |
| 2848 | ;; completion mode. | 2848 | ;; completion mode. |
| 2849 | (when (getenv "NIX_STORE") | ||
| 2850 | (message | ||
| 2851 | "tramp-handle-file-name-as-directory file %s tramp-completion-mode-p %s result %s" | ||
| 2852 | file (tramp-completion-mode-p) | ||
| 2853 | (tramp-make-tramp-file-name | ||
| 2854 | (tramp-file-name-method v) | ||
| 2855 | (tramp-file-name-user v) | ||
| 2856 | (tramp-file-name-host v) | ||
| 2857 | (if (and (tramp-completion-mode-p) | ||
| 2858 | (zerop (length (tramp-file-name-localname v)))) | ||
| 2859 | "" | ||
| 2860 | (tramp-run-real-handler | ||
| 2861 | 'file-name-as-directory (list (or (tramp-file-name-localname v) "")))) | ||
| 2862 | (tramp-file-name-hop v)))) | ||
| 2863 | (tramp-make-tramp-file-name | 2849 | (tramp-make-tramp-file-name |
| 2864 | (tramp-file-name-method v) | 2850 | (tramp-file-name-method v) |
| 2865 | (tramp-file-name-user v) | 2851 | (tramp-file-name-user v) |