changeset 87142:a33cd731dd95

Fix buggy calls to `error' in the net/ directory.
author Deepak Goel <deego@gnufans.org>
date Thu, 06 Dec 2007 18:22:45 +0000
parents 1a8ec74a74f3
children e1c8546ca1d5
files lisp/ChangeLog lisp/net/trampver.el
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Dec 06 18:18:13 2007 +0000
+++ b/lisp/ChangeLog	Thu Dec 06 18:22:45 2007 +0000
@@ -1,5 +1,7 @@
 2007-12-06  D. Goel  <deego3@gmail.com>
 
+	* net/trampver.el (x): Ditto.
+
 	* mail/uce.el (uce-reply-to-uce): Ditto.
 
 	* mail/rmailout.el (rmail-output): Ditto.
--- a/lisp/net/trampver.el	Thu Dec 06 18:18:13 2007 +0000
+++ b/lisp/net/trampver.el	Thu Dec 06 18:22:45 2007 +0000
@@ -38,7 +38,7 @@
 
 ;; Check for (X)Emacs version.
 (let ((x (if (or (< emacs-major-version 21)	(and (featurep 'xemacs)	     (< emacs-minor-version 4)))    (format "Tramp 2.1.12-pre is not fit for %s"	    (when (string-match "^.*$" (emacs-version))	      (match-string 0 (emacs-version))))    "ok")))
-  (unless (string-match "\\`ok\\'" x) (error x)))
+  (unless (string-match "\\`ok\\'" x) (error "%s" x)))
 
 (provide 'trampver)