[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] streams.texi
From: |
Nick Roberts |
Subject: |
[PATCH] streams.texi |
Date: |
Fri, 19 Nov 2004 16:37:32 +1300 |
The lisp function, print, seems to only print a newline *before* object:
(progn (print 'The\ cat\ in)
(print "the hat")
(print " came back"))
The\ cat\ in
"the hat"
" came back"
" came back"
How about the patch below?
Nick
*** streams.texi 24 May 2004 03:55:21 +1200 1.24
--- streams.texi 19 Nov 2004 16:33:05 +1300
***************
*** 559,567 ****
@defun print object &optional stream
@cindex Lisp printer
The @code{print} function is a convenient way of printing. It outputs
! the printed representation of @var{object} to @var{stream}, printing in
! addition one newline before @var{object} and another after it. Quoting
! characters are used. @code{print} returns @var{object}. For example:
@example
@group
--- 559,567 ----
@defun print object &optional stream
@cindex Lisp printer
The @code{print} function is a convenient way of printing. It outputs
! the printed representation of @var{object} to @var{stream}, printing
! in addition one newline before @var{object}. Quoting characters are
! used. @code{print} returns @var{object}. For example:
@example
@group
***************
*** 574,580 ****
@print{} "the hat"
@print{}
@print{} " came back"
- @print{}
@result{} " came back"
@end group
@end example
--- 574,579 ----
- [PATCH] streams.texi,
Nick Roberts <=