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...