From 5b423d48d46b132b80a5a0ab026ae0cbfec01d84 Mon Sep 17 00:00:00 2001 From: Werner LEMBERG Date: Fri, 25 Mar 2005 08:33:09 +0000 Subject: [PATCH] * eshell/esh-io.el, eshell/esh-var.el: Replace `illegal' with `invalid'. --- lisp/ChangeLog | 2 ++ lisp/eshell/esh-io.el | 4 ++-- lisp/eshell/esh-var.el | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d8f672c7234..f84420c6bad 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -5,6 +5,8 @@ * midnight.el, vc-cvs.el: Replace `illegal' with `invalid'. * emacs-lisp/cl-macs.el: Replace `illegal' with `invalid'. * emulation/vip.el: Replace `illegal' with `invalid'. + * eshell/esh-io.el, eshell/esh-var.el: Replace `illegal' with + `invalid'. 2005-03-24 Stefan Monnier diff --git a/lisp/eshell/esh-io.el b/lisp/eshell/esh-io.el index d832fa9cd03..6944770dbc9 100644 --- a/lisp/eshell/esh-io.el +++ b/lisp/eshell/esh-io.el @@ -1,6 +1,6 @@ ;;; esh-io.el --- I/O management -;; Copyright (C) 1999, 2000 Free Software Foundation +;; Copyright (C) 1999, 2000, 2005 Free Software Foundation ;; Author: John Wiegley @@ -377,7 +377,7 @@ it defaults to `insert'." target) (t - (error "Illegal redirection target: %s" + (error "Invalid redirection target: %s" (eshell-stringify target))))) (eval-when-compile diff --git a/lisp/eshell/esh-var.el b/lisp/eshell/esh-var.el index fabcf367088..9ff9c1898a2 100644 --- a/lisp/eshell/esh-var.el +++ b/lisp/eshell/esh-var.el @@ -1,6 +1,6 @@ ;;; esh-var.el --- handling of variables -;; Copyright (C) 1999, 2000 Free Software Foundation +;; Copyright (C) 1999, 2000, 2005 Free Software Foundation ;; Author: John Wiegley @@ -568,7 +568,7 @@ For example, to retrieve the second element of a user's record in (split-string value separator))))) (cond ((< (length refs) 0) - (error "Illegal array variable index: %s" + (error "Invalid array variable index: %s" (eshell-stringify refs))) ((= (length refs) 1) (setq value (eshell-index-value value (car refs)))) -- 2.39.2