diff options
| author | John Wiegley | 2001-05-10 03:51:34 +0000 |
|---|---|---|
| committer | John Wiegley | 2001-05-10 03:51:34 +0000 |
| commit | 90d94608c692f706e8ed452fa6fef93b3c4f0676 (patch) | |
| tree | b15d58dd4e3e35059fe91b1df956f331f8cc1543 | |
| parent | 3cb27fd7cda5593e8924ec827ea00d7f0fbb83b2 (diff) | |
| download | emacs-90d94608c692f706e8ed452fa6fef93b3c4f0676.tar.gz emacs-90d94608c692f706e8ed452fa6fef93b3c4f0676.zip | |
(eshell-convert-numeric-arguments): Annotated the documentation string
to tell users about `eshell-no-numeric-conversions'.
| -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 62c72af02ca..4edcb53761c 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." | |||
| 84 | (defcustom eshell-convert-numeric-arguments t | 84 | (defcustom eshell-convert-numeric-arguments t |
| 85 | "*If non-nil, converting arguments of numeric form to Lisp numbers. | 85 | "*If non-nil, converting arguments of numeric form to Lisp numbers. |
| 86 | Numeric form is tested using the regular expression | 86 | Numeric form is tested using the regular expression |
| 87 | `eshell-number-regexp'." | 87 | `eshell-number-regexp'. |
| 88 | |||
| 89 | NOTE: If you find that numeric conversions are intefering with the | ||
| 90 | specification of filenames (for example, in calling `find-file', or | ||
| 91 | some other Lisp function that deals with files, not numbers), add the | ||
| 92 | following in your .emacs file: | ||
| 93 | |||
| 94 | (put 'find-file 'eshell-no-numeric-conversions t) | ||
| 95 | |||
| 96 | Any function with the property `eshell-no-numeric-conversions' set to | ||
| 97 | a non-nil value, will be passed strings, not numbers, even when an | ||
| 98 | argument matches `eshell-number-regexp'." | ||
| 88 | :type 'boolean | 99 | :type 'boolean |
| 89 | :group 'eshell-util) | 100 | :group 'eshell-util) |
| 90 | 101 | ||