From e9e4d61914ede6f19c75d1d6962c2977a1be213b Mon Sep 17 00:00:00 2001 From: Deepak Goel Date: Thu, 6 Dec 2007 18:22:45 +0000 Subject: [PATCH] Fix buggy calls to `error' in the net/ directory. --- lisp/ChangeLog | 2 ++ lisp/net/trampver.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3c3c5b8aa45..239a7b08af1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/net/trampver.el b/lisp/net/trampver.el index 58ae73d8cd3..0639210a1be 100644 --- a/lisp/net/trampver.el +++ b/lisp/net/trampver.el @@ -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) -- 2.39.2