mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(eshell-convert-numeric-arguments): Annotated the documentation string
to tell users about `eshell-no-numeric-conversions'.
This commit is contained in:
parent
3cb27fd7cd
commit
90d94608c6
1 changed files with 12 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue