# HG changeset patch # User Deepak Goel # Date 1196965365 0 # Node ID a33cd731dd959720932b05c295d5dc0f317eb8e2 # Parent 1a8ec74a74f385387e89585f44a06d0e06b5b686 Fix buggy calls to `error' in the net/ directory. diff -r 1a8ec74a74f3 -r a33cd731dd95 lisp/ChangeLog --- 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 + * net/trampver.el (x): Ditto. + * mail/uce.el (uce-reply-to-uce): Ditto. * mail/rmailout.el (rmail-output): Ditto. diff -r 1a8ec74a74f3 -r a33cd731dd95 lisp/net/trampver.el --- 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)