changeset 63424:9d665488ae5a

(tramp-find-file-exists-command, tramp-find-shell): Follow error conventions.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 14 Jun 2005 15:22:35 +0000
parents 8269aa11cce4
children d6e1fdb10546
files lisp/net/tramp.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/tramp.el	Tue Jun 14 15:21:33 2005 +0000
+++ b/lisp/net/tramp.el	Tue Jun 14 15:22:35 2005 +0000
@@ -5095,7 +5095,7 @@
              (and (setq tramp-file-exists-command "ls -d %s")
                   (file-exists-p existing)
                   (not (file-exists-p nonexisting))))
-      (error "Couldn't find command to check if file exists."))))
+      (error "Couldn't find command to check if file exists"))))
 
 
 ;; CCC test ksh or bash found for tilde expansion?
@@ -5131,7 +5131,7 @@
                60 (format "\\(\\(%s\\)\\|\\(%s\\)\\)\\'"
 			  tramp-shell-prompt-pattern shell-prompt-pattern))
         (pop-to-buffer (buffer-name))
-        (error "Couldn't find remote `%s' prompt." shell))
+        (error "Couldn't find remote `%s' prompt" shell))
       (tramp-message
        9 "Setting remote shell prompt...")
       ;; Douglas Gray Stephens <DGrayStephens@slb.com> says that we