diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 16 |
2 files changed, 12 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bb86c82846d..c91f8786d28 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2009-12-09 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/tramp.el (tramp-handle-insert-directory): Suppress error messages. | ||
| 4 | |||
| 1 | 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu> | 5 | 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 6 | ||
| 3 | Fix short log parsing and fontification. | 7 | Fix short log parsing and fontification. |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index d50b885955b..8bc010d29b2 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -4077,7 +4077,7 @@ This is like `dired-recursive-delete-directory' for Tramp files." | |||
| 4077 | (if full-directory-p | 4077 | (if full-directory-p |
| 4078 | (tramp-send-command | 4078 | (tramp-send-command |
| 4079 | v | 4079 | v |
| 4080 | (format "%s %s %s" | 4080 | (format "%s %s %s 2>/dev/null" |
| 4081 | (tramp-get-ls-command v) | 4081 | (tramp-get-ls-command v) |
| 4082 | switches | 4082 | switches |
| 4083 | (if wildcard | 4083 | (if wildcard |
| @@ -4126,13 +4126,13 @@ This is like `dired-recursive-delete-directory' for Tramp files." | |||
| 4126 | (end (+ beg (read (current-buffer))))) | 4126 | (end (+ beg (read (current-buffer))))) |
| 4127 | (if (memq (char-after end) '(?\n ?\ )) | 4127 | (if (memq (char-after end) '(?\n ?\ )) |
| 4128 | ;; End is followed by \n or by " -> ". | 4128 | ;; End is followed by \n or by " -> ". |
| 4129 | (put-text-property start end 'dired-filename t))))) | 4129 | (put-text-property start end 'dired-filename t)))))) |
| 4130 | ;; Remove trailing lines. | 4130 | ;; Remove trailing lines. |
| 4131 | (goto-char (tramp-compat-line-beginning-position)) | 4131 | (goto-char (tramp-compat-line-beginning-position)) |
| 4132 | (while (looking-at "//") | 4132 | (while (looking-at "//") |
| 4133 | (forward-line 1) | 4133 | (forward-line 1) |
| 4134 | (delete-region (match-beginning 0) (point))))) | 4134 | (delete-region (match-beginning 0) (point))) |
| 4135 | (goto-char (point-max))))) | 4135 | (goto-char (point-max)))))) |
| 4136 | 4136 | ||
| 4137 | (defun tramp-handle-unhandled-file-name-directory (filename) | 4137 | (defun tramp-handle-unhandled-file-name-directory (filename) |
| 4138 | "Like `unhandled-file-name-directory' for Tramp files." | 4138 | "Like `unhandled-file-name-directory' for Tramp files." |