diff options
author | John Wiegley <[email protected]> | 2001-05-10 03:51:34 +0000 |
---|---|---|
committer | John Wiegley <[email protected]> | 2001-05-10 03:51:34 +0000 |
commit | 90d94608c692f706e8ed452fa6fef93b3c4f0676 (patch) | |
tree | b15d58dd4e3e35059fe91b1df956f331f8cc1543 /lisp/eshell/esh-util.el | |
parent | 3cb27fd7cda5593e8924ec827ea00d7f0fbb83b2 (diff) |
(eshell-convert-numeric-arguments): Annotated the documentation string
to tell users about `eshell-no-numeric-conversions'.
Diffstat (limited to 'lisp/eshell/esh-util.el')
-rw-r--r-- | lisp/eshell/esh-util.el | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el index 62c72af02c..4edcb53761 100644 --- a/lisp/eshell/esh-util.el +++ b/lisp/eshell/esh-util.el @@ -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) |