|
From: | Frank Stutzman |
Subject: | Re: elisp code for replacing every other occurence in a line? |
Date: | Mon, 12 May 2014 19:22:22 +0000 (UTC) |
User-agent: | tin/2.2.0-20131224 ("Lochindaal") (UNIX) (FreeBSD/9.2-RELEASE-p3 (amd64)) |
Nevermind.... It took quite a while to get my brain into elisp mode. Once that happened I realized that my solution was write there on the help page for replace-string. Right there where it says you probably don't want to use replace-string. Pretty much the only real change I had to do was to use the COUNT option on search-forward. -- Frank Stutzman
[Prev in Thread] | Current Thread | [Next in Thread] |