]> code.delx.au - gnu-emacs/blobdiff - doc/lispref/strings.texi
Some corrections in Elisp manual
[gnu-emacs] / doc / lispref / strings.texi
index 091db5e4ebb53471867bf3209abc15d8e73ab2b1..9d6613c522cfde999ffb8cb983398d87b2d82dcf 100644 (file)
@@ -145,11 +145,12 @@ This returns a string containing the characters @var{characters}.
 @end example
 @end defun
 
-@defun substring string start &optional end
+@defun substring string &optional start end
 This function returns a new string which consists of those characters
 from @var{string} in the range from (and including) the character at the
 index @var{start} up to (but excluding) the character at the index
-@var{end}.  The first character is at index zero.
+@var{end}.  The first character is at index zero.  With one argument,
+this function just copies @var{string}.
 
 @example
 @group