changeset 60915:a72129314db4

* eshell/esh-io.el, eshell/esh-var.el: Replace `illegal' with `invalid'.
author Werner LEMBERG <wl@gnu.org>
date Fri, 25 Mar 2005 08:33:09 +0000
parents 62dc372efbe1
children 480134f8cd16
files lisp/ChangeLog lisp/eshell/esh-io.el lisp/eshell/esh-var.el
diffstat 3 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Mar 25 08:30:01 2005 +0000
+++ b/lisp/ChangeLog	Fri Mar 25 08:33:09 2005 +0000
@@ -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  <monnier@iro.umontreal.ca>
 
--- a/lisp/eshell/esh-io.el	Fri Mar 25 08:30:01 2005 +0000
+++ b/lisp/eshell/esh-io.el	Fri Mar 25 08:33:09 2005 +0000
@@ -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 <johnw@gnu.org>
 
@@ -377,7 +377,7 @@
     target)
 
    (t
-    (error "Illegal redirection target: %s"
+    (error "Invalid redirection target: %s"
 	   (eshell-stringify target)))))
 
 (eval-when-compile
--- a/lisp/eshell/esh-var.el	Fri Mar 25 08:30:01 2005 +0000
+++ b/lisp/eshell/esh-var.el	Fri Mar 25 08:33:09 2005 +0000
@@ -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 <johnw@gnu.org>
 
@@ -568,7 +568,7 @@
 			(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))))