Mercurial > emacs
changeset 65168:b93526432c17
*** empty log message ***
author | John Wiegley <johnw@newartisans.com> |
---|---|
date | Fri, 26 Aug 2005 22:51:28 +0000 |
parents | 2980740e3f1c |
children | 4614e3dc5d9f |
files | lisp/ChangeLog lisp/eshell/esh-util.el |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Fri Aug 26 22:51:03 2005 +0000 +++ b/lisp/ChangeLog Fri Aug 26 22:51:28 2005 +0000 @@ -1,5 +1,9 @@ 2005-08-26 John Wiegley <johnw@newartisans.com> + * eshell/esh-cmd.el (eshell-rewrite-named-command): Changed the + code around a bit so that an extraneous nil argument is not added + to a command when no args are given. + * eshell/esh-arg.el (eshell-parse-double-quote): If a double-quoted argument resolves to nil, return it as an empty string rather than as nil. This made it impossible to pass "" to
--- a/lisp/eshell/esh-util.el Fri Aug 26 22:51:03 2005 +0000 +++ b/lisp/eshell/esh-util.el Fri Aug 26 22:51:28 2005 +0000 @@ -294,8 +294,7 @@ "Flatten any lists within ARGS, so that there are no sublists." (let ((new-list (list t))) (eshell-for a args - (if (and (not (eq a nil)) - (listp a) + (if (and (listp a) (listp (cdr a))) (nconc new-list (eshell-flatten-list a)) (nconc new-list (list a))))