Mercurial > emacs
comparison lisp/eshell/esh-var.el @ 62915:b89e30bcd2bb
Changed all uses of `directory-sep-char' to ?/, and all uses of
`string-to-int' to `string-to-number'.
author | John Wiegley <johnw@newartisans.com> |
---|---|
date | Tue, 31 May 2005 00:14:26 +0000 |
parents | a72129314db4 |
children | 668456cdf6a1 01137c1fdbe9 |
comparison
equal
deleted
inserted
replaced
62914:6c8a535adaf3 | 62915:b89e30bcd2bb |
---|---|
629 (lambda (varname) | 629 (lambda (varname) |
630 (let ((value (eshell-get-variable varname))) | 630 (let ((value (eshell-get-variable varname))) |
631 (if (and value | 631 (if (and value |
632 (stringp value) | 632 (stringp value) |
633 (file-directory-p value)) | 633 (file-directory-p value)) |
634 (concat varname (char-to-string directory-sep-char)) | 634 (concat varname "/") |
635 varname)))) | 635 varname)))) |
636 (eshell-envvar-names (eshell-environment-variables))) | 636 (eshell-envvar-names (eshell-environment-variables))) |
637 (all-completions argname obarray 'boundp) | 637 (all-completions argname obarray 'boundp) |
638 completions) | 638 completions) |
639 'string-lessp))) | 639 'string-lessp))) |