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

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

How to concatenate a backslash to a string


From: Mirko
Subject: How to concatenate a backslash to a string
Date: 27 Nov 2006 08:37:52 -0800
User-agent: G2/1.0

Hello group.

When in *scratch* I try
(concat "\\" "%")
I get "\\%"

But what I really want is to get "\%".   (I am trying to TeXify some
text and convert %->\%, $->\$, etc).

If I try (concat "\" "%") I get a syntax error because the \ is
escaping the ".

Many thanks,

Mirko



reply via email to

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