help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: elisp - inserting block of text


From: Tassilo Horn
Subject: Re: elisp - inserting block of text
Date: Thu, 02 Dec 2010 11:13:09 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

Hi Eli,

>> (insert "foo\nbar\n") inserts foo and bar, and after each one the
>> right newline, carriage-return, or both, depending on the buffer's
>> coding system.
>
> No, it always insert a single newline.  The buffer's coding system is
> only important when the buffer is saved to its file.

Good to know.  But in end, what only matters is that Emacs DTRT. :-)

Bye,
Tassilo




reply via email to

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