help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: elisp how to insert text at end of each line


From: Steven Degutis
Subject: Re: elisp how to insert text at end of each line
Date: Wed, 10 Apr 2013 12:36:12 -0500

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 <deedexy@gmail.com> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]