Variable: eshell-convert-numeric-arguments

eshell-convert-numeric-arguments is a customizable variable defined in esh-util.el.gz.

Value

t

Documentation

If non-nil, converting arguments of numeric form to Lisp numbers.

Numeric form is tested using the regular expression eshell-number-regexp.

NOTE: If you find that numeric conversions are interfering with the specification of filenames (for example, in calling find-file, or some other Lisp function that deals with files, not numbers), add the following in your init file:

  (put 'find-file 'eshell-no-numeric-conversions t)

Any function with the property eshell-no-numeric-conversions set to a non-nil value, will be passed strings, not numbers, even when an argument matches eshell-number-regexp.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defcustom eshell-convert-numeric-arguments t
  "If non-nil, converting arguments of numeric form to Lisp numbers.
Numeric form is tested using the regular expression
`eshell-number-regexp'.

NOTE: If you find that numeric conversions are interfering with the
specification of filenames (for example, in calling `find-file', or
some other Lisp function that deals with files, not numbers), add the
following in your init file:

  (put \\='find-file \\='eshell-no-numeric-conversions t)

Any function with the property `eshell-no-numeric-conversions' set to
a non-nil value, will be passed strings, not numbers, even when an
argument matches `eshell-number-regexp'."
  :type 'boolean)