/[emacs]/emacs/lisp/eshell/esh-var.el
ViewVC logotype

Diff of /emacs/lisp/eshell/esh-var.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by johnw, Fri Nov 14 11:01:46 2003 UTC revision 1.13 by wl, Fri Mar 25 08:33:09 2005 UTC
# Line 1  Line 1 
1  ;;; esh-var.el --- handling of variables  ;;; esh-var.el --- handling of variables
2    
3  ;; Copyright (C) 1999, 2000 Free Software Foundation  ;; Copyright (C) 1999, 2000, 2005 Free Software Foundation
4    
5  ;; Author: John Wiegley <johnw@gnu.org>  ;; Author: John Wiegley <johnw@gnu.org>
6    
# Line 568  For example, to retrieve the second elem Line 568  For example, to retrieve the second elem
568                          (split-string value separator)))))                          (split-string value separator)))))
569        (cond        (cond
570         ((< (length refs) 0)         ((< (length refs) 0)
571          (error "Illegal array variable index: %s"          (error "Invalid array variable index: %s"
572                 (eshell-stringify refs)))                 (eshell-stringify refs)))
573         ((= (length refs) 1)         ((= (length refs) 1)
574          (setq value (eshell-index-value value (car refs))))          (setq value (eshell-index-value value (car refs))))

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26