diff options
| author | Juanma Barranquero | 2005-06-14 15:22:35 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-06-14 15:22:35 +0000 |
| commit | ff12e78d4ba17cb8e643a1e0c792f6d7c9a31e05 (patch) | |
| tree | ca820819dbe3d0a7dee30cfe3510c670f029a113 | |
| parent | ef5c2ecae7fef13c20a14fdf3f23928f88cfcf47 (diff) | |
| download | emacs-ff12e78d4ba17cb8e643a1e0c792f6d7c9a31e05.tar.gz emacs-ff12e78d4ba17cb8e643a1e0c792f6d7c9a31e05.zip | |
(tramp-find-file-exists-command, tramp-find-shell): Follow error conventions.
| -rw-r--r-- | lisp/net/tramp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index a5ee3c9bc04..5873efcb98a 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -5095,7 +5095,7 @@ file exists and nonzero exit status otherwise." | |||
| 5095 | (and (setq tramp-file-exists-command "ls -d %s") | 5095 | (and (setq tramp-file-exists-command "ls -d %s") |
| 5096 | (file-exists-p existing) | 5096 | (file-exists-p existing) |
| 5097 | (not (file-exists-p nonexisting)))) | 5097 | (not (file-exists-p nonexisting)))) |
| 5098 | (error "Couldn't find command to check if file exists.")))) | 5098 | (error "Couldn't find command to check if file exists")))) |
| 5099 | 5099 | ||
| 5100 | 5100 | ||
| 5101 | ;; CCC test ksh or bash found for tilde expansion? | 5101 | ;; CCC test ksh or bash found for tilde expansion? |
| @@ -5131,7 +5131,7 @@ file exists and nonzero exit status otherwise." | |||
| 5131 | 60 (format "\\(\\(%s\\)\\|\\(%s\\)\\)\\'" | 5131 | 60 (format "\\(\\(%s\\)\\|\\(%s\\)\\)\\'" |
| 5132 | tramp-shell-prompt-pattern shell-prompt-pattern)) | 5132 | tramp-shell-prompt-pattern shell-prompt-pattern)) |
| 5133 | (pop-to-buffer (buffer-name)) | 5133 | (pop-to-buffer (buffer-name)) |
| 5134 | (error "Couldn't find remote `%s' prompt." shell)) | 5134 | (error "Couldn't find remote `%s' prompt" shell)) |
| 5135 | (tramp-message | 5135 | (tramp-message |
| 5136 | 9 "Setting remote shell prompt...") | 5136 | 9 "Setting remote shell prompt...") |
| 5137 | ;; Douglas Gray Stephens <DGrayStephens@slb.com> says that we | 5137 | ;; Douglas Gray Stephens <DGrayStephens@slb.com> says that we |