(set_tty_color_mode): Remove unused variable `tem'.
[bpt/emacs.git] / lispref / strings.texi
index ac30522..f35f94b 100644 (file)
@@ -442,8 +442,8 @@ portion) is less.
 
 @defun assoc-ignore-case key alist
 This function works like @code{assoc}, except that @var{key} must be a
-string, and comparison is done using @code{compare-strings}.
-Case differences are ignored in this comparison.
+string, and comparison is done using @code{compare-strings}, ignoring
+case differences.  @xref{Association Lists}.
 @end defun
 
 @defun assoc-ignore-representation key alist
@@ -536,7 +536,9 @@ This function returns the numeric value of the characters in
 in that base.  If @var{base} is @code{nil}, then base ten is used.
 Floating point conversion always uses base ten; we have not implemented
 other radices for floating point numbers, because that would be much
-more work and does not seem useful.
+more work and does not seem useful.  If @var{string} looks like an
+integer but its value is too large to fit into a Lisp integer,
+@code{string-to-number} returns a floating point result.
 
 The parsing skips spaces and tabs at the beginning of @var{string}, then
 reads as much of @var{string} as it can interpret as a number.  (On some
@@ -554,6 +556,8 @@ floating point number, this function returns 0.
      @result{} 0
 (string-to-number "-4.5")
      @result{} -4.5
+(string-to-number "1e5")
+     @result{} 100000.0
 @end example
 
 @findex string-to-int
@@ -672,20 +676,17 @@ integer.  @samp{%x} uses lower case and @samp{%X} uses upper case.
 Replace the specification with the character which is the value given.
 
 @item %e
-@itemx %E
 Replace the specification with the exponential notation for a floating
-point number.  @samp{%e} uses lower case @samp{e} for the exponent and
-@samp{%E} uses upper case.
+point number.
 
 @item %f
 Replace the specification with the decimal-point notation for a floating
 point number.
 
 @item %g
-@itemx %G
 Replace the specification with notation for a floating point number,
 using either exponential notation or decimal-point notation, whichever
-is shorter.  @samp{%G} uses upper case if an exponent is printed.
+is shorter.
 
 @item %%
 Replace the specification with a single @samp{%}.  This format