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

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

Re: 'C-q C-j' looks ugly in code


From: Thorsten Jolitz
Subject: Re: 'C-q C-j' looks ugly in code
Date: Fri, 26 Jul 2013 12:39:15 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux)

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Thorsten Jolitz <tjolitz@gmail.com> writes:

>> Is there a way to write C-q C-j in source code that does not actually
>> inserts the line-feeds?
>
> I just tested this in scratch, and it looks like (replace-string "^J" "\n")
> works as expected...

Of course, I used "\n" so often, forgot that its just another way to
enter ^J ... well, thanks anyway.

-- 
cheers,
Thorsten




reply via email to

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