If you want to do it interactively as a user, I would use multiple-cursors.el (in MELPA, https://github.com/magnars/multiple-cursors.el/). Otherwise, don't know. -Steven On Wed, Apr 10, 2013 at 12:28 PM, acomber wrote: > I tried: > > (while (search-forward "\n") > (insert "My text to insert") > ) > > and tried using $ symbol. > > Neither worked. > > Is there a way to do this in elisp? > > > > -- > View this message in context: > http://emacs.1067599.n5.nabble.com/elisp-how-to-insert-text-at-end-of-each-line-tp283410.html > Sent from the Emacs - Help mailing list archive at Nabble.com. > >