From: Juanma Barranquero Date: Tue, 14 Jun 2005 15:22:35 +0000 (+0000) Subject: (tramp-find-file-exists-command, tramp-find-shell): Follow error conventions. X-Git-Tag: emacs-pretest-22.0.90~8953 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff12e78d4ba17cb8e643a1e0c792f6d7c9a31e05;p=emacs.git (tramp-find-file-exists-command, tramp-find-shell): Follow error conventions. --- 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." (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 @@ file exists and nonzero exit status otherwise." 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 says that we