aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Wiegley2001-05-10 03:51:34 +0000
committerJohn Wiegley2001-05-10 03:51:34 +0000
commit90d94608c692f706e8ed452fa6fef93b3c4f0676 (patch)
treeb15d58dd4e3e35059fe91b1df956f331f8cc1543
parent3cb27fd7cda5593e8924ec827ea00d7f0fbb83b2 (diff)
downloademacs-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.el13
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.
86Numeric form is tested using the regular expression 86Numeric form is tested using the regular expression
87`eshell-number-regexp'." 87`eshell-number-regexp'.
88
89NOTE: If you find that numeric conversions are intefering with the
90specification of filenames (for example, in calling `find-file', or
91some other Lisp function that deals with files, not numbers), add the
92following in your .emacs file:
93
94 (put 'find-file 'eshell-no-numeric-conversions t)
95
96Any function with the property `eshell-no-numeric-conversions' set to
97a non-nil value, will be passed strings, not numbers, even when an
98argument matches `eshell-number-regexp'."
88 :type 'boolean 99 :type 'boolean
89 :group 'eshell-util) 100 :group 'eshell-util)
90 101