Mercurial > emacs
comparison lispref/strings.texi @ 13228:a4a1d7df2e7f
Fix format example.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 16 Oct 1995 01:04:41 +0000 |
parents | 586e3ea81792 |
children | 66d807bdc5b4 |
comparison
equal
deleted
inserted
replaced
13227:d8af44485b3c | 13228:a4a1d7df2e7f |
---|---|
572 @group | 572 @group |
573 (format "The name of this buffer is %s." (buffer-name)) | 573 (format "The name of this buffer is %s." (buffer-name)) |
574 @result{} "The name of this buffer is strings.texi." | 574 @result{} "The name of this buffer is strings.texi." |
575 | 575 |
576 (format "The buffer object prints as %s." (current-buffer)) | 576 (format "The buffer object prints as %s." (current-buffer)) |
577 @result{} "The buffer object prints as #<buffer strings.texi>." | 577 @result{} "The buffer object prints as strings.texi." |
578 | 578 |
579 (format "The octal value of %d is %o, | 579 (format "The octal value of %d is %o, |
580 and the hex value is %x." 18 18 18) | 580 and the hex value is %x." 18 18 18) |
581 @result{} "The octal value of 18 is 22, | 581 @result{} "The octal value of 18 is 22, |
582 and the hex value is 12." | 582 and the hex value is 12." |