emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] streams.texi


From: Luc Teirlinck
Subject: Re: [PATCH] streams.texi
Date: Thu, 18 Nov 2004 22:43:03 -0600 (CST)

Nick Roberts wrote:

   The lisp function, print, seems to only print a newline *before* object:

It does print one before _and_ one after object.  I believe even your
own example shows that.  Anyway this example clearly shows it:

ELISP> (print "line1" (get-buffer "*scratch*"))
"line1"
ELISP> (print "line2" (get-buffer "*scratch*"))
"line2"

Result:

"line1"

"line2"

Note that "line1" and "line2" are separated by _two_ newlines, one
printed by the first call to print _after_ "line1", the second printed
by the second call to print before "line2".

Sincerely,

Luc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]