unless the whole argument was seen as a number.
2003-11-14 John Wiegley <johnw@newartisans.com>
+ * eshell/esh-var.el (eshell-parse-variable-ref): Added a backslash
+ that was optional, but obviously missing based on surrounding
+ code.
+
* eshell/esh-cmd.el (eshell-lisp-command): Do not late-convert
string arguments to numbers unless the whole argument was seen as
a number.
(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))