[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: elisp how to insert text at end of each line
From: |
Teemu Likonen |
Subject: |
Re: elisp how to insert text at end of each line |
Date: |
Wed, 10 Apr 2013 20:42:56 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Teemu Likonen [2013-04-10 20:39:43 +03:00] wrote:
> Try this instead:
>
> (while (re-search-forward "$" nil t)
> (insert "foo")
> (goto-char (1+ (point))))
Sorry, don't do that. It goes to infinite loop. I'll go studying it more
closely...
pgpI4MZ7L3hVK.pgp
Description: PGP signature