# HG changeset patch # User John Wiegley # Date 1068807572 0 # Node ID bf3ee9e2cedaf5c8875969e21984e015e0634d70 # Parent 3d21b074dd4963febe5cd9e49e36ecd157742188 (eshell-lisp-command): Do not late-convert string arguments to numbers unless the whole argument was seen as a number. diff -r 3d21b074dd49 -r bf3ee9e2ceda lisp/eshell/esh-cmd.el --- a/lisp/eshell/esh-cmd.el Fri Nov 14 10:59:04 2003 +0000 +++ b/lisp/eshell/esh-cmd.el Fri Nov 14 10:59:32 2003 +0000 @@ -1400,7 +1400,8 @@ (let ((arg (car args))) (if (and (stringp arg) (> (length arg) 0) - (get-text-property 0 'number arg)) + (not (text-property-not-all + 0 (length arg) 'number t arg))) (setcar args (string-to-number arg)))) (setq args (cdr args)))) (eshell-apply object eshell-last-arguments))