diff lisp/eshell/esh-var.el @ 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 02020f3d155a
children b89e30bcd2bb 4da4a09e8b1b
line wrap: on
line diff
--- 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))))