1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00

(eshell-convert-numeric-arguments): Annotated the documentation string

to tell users about `eshell-no-numeric-conversions'.
This commit is contained in:
John Wiegley 2001-05-10 03:51:34 +00:00
parent 3cb27fd7cd
commit 90d94608c6

View File

@ -84,7 +84,18 @@ Setting this to nil is offered as an aid to debugging only."
(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'."
`eshell-number-regexp'.
NOTE: If you find that numeric conversions are intefering 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 .emacs 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
:group 'eshell-util)