[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using lisp in replacement string
From: |
Dmitry Gutov |
Subject: |
Re: using lisp in replacement string |
Date: |
Wed, 24 Dec 2014 16:52:33 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 |
On 12/24/2014 04:40 PM, Guido Van Hoecke wrote:
Not really, if you quote it, it replaces the formulas by the calc-eval
expression :(
If you don't quote it, it's not a string.
Anyway, check out these lines from `replace-regexp' docstring:
"This function is for interactive use only;
in Lisp code use `re-search-forward' and `replace-match' instead."
...
"In interactive calls, the replacement text may contain `\,'"
You're not using it interactively.
Re: using lisp in replacement string, Nicolas Richard, 2014/12/24
Re: using lisp in replacement string, Andreas Röhler, 2014/12/25