summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/eshell/esh-io.el4
-rw-r--r--lisp/eshell/esh-var.el4
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 <monnier@iro.umontreal.ca>
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 <johnw@gnu.org>
@@ -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 <johnw@gnu.org>
@@ -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))))