]> git.eshelyaron.com Git - emacs.git/commitdiff
(Buffer Contents): Use "\n" in examples' result strings.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 3 Sep 2005 18:12:46 +0000 (18:12 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 3 Sep 2005 18:12:46 +0000 (18:12 +0000)
lispref/text.texi

index 59259415cc0d8740bd2054e8cb9b66f1d7c31fcc..be6dce43e3146067d3f5d63fb6b1f7c6a4ad7ef7 100644 (file)
@@ -191,12 +191,11 @@ This is the contents of buffer foo
 
 @group
 (buffer-substring 1 10)
-@result{} "This is t"
+     @result{} "This is t"
 @end group
 @group
 (buffer-substring (point-max) 10)
-@result{} "he contents of buffer foo
-"
+     @result{} "he contents of buffer foo\n"
 @end group
 @end example
 @end defun
@@ -257,8 +256,7 @@ This is the contents of buffer foo
 ---------- Buffer: foo ----------
 
 (buffer-string)
-     @result{} "This is the contents of buffer foo
-"
+     @result{} "This is the contents of buffer foo\n"
 @end group
 @end example
 @end defun