|
From: | Jarek Czekalski |
Subject: | bug#15275: 24.3; replace-string function does not respect current region |
Date: | Thu, 05 Sep 2013 23:14:13 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
W dniu 09/05/2013 06:40 PM, Glenn Morris pisze:
In non-interactive use, you need to specify START and END explicitly. This is fairly common for Emacs commands. But note that the doc-string says: "This function is usually the wrong thing to use in a Lisp program."
I was not going to use it from Lisp program. I just find it convenient to have the whole replacement command on one line. If the function worked the way it is described in docs, it would be perfect.
But I am emacs newbie, you decide. A newbie just reads the docs and hopes the program works according to docs.
Cheers Jarek
[Prev in Thread] | Current Thread | [Next in Thread] |