# HG changeset patch # User John Wiegley # Date 989466694 0 # Node ID 74b3a3b5aa87f1be82527ee92befb71003d4cfe9 # Parent 57b1caf0c3b69c18d2eaf653fb1fd21839daad5b (eshell-convert-numeric-arguments): Annotated the documentation string to tell users about `eshell-no-numeric-conversions'. diff -r 57b1caf0c3b6 -r 74b3a3b5aa87 lisp/eshell/esh-util.el --- a/lisp/eshell/esh-util.el Thu May 10 03:50:53 2001 +0000 +++ b/lisp/eshell/esh-util.el Thu May 10 03:51:34 2001 +0000 @@ -84,7 +84,18 @@ (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)