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

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

elisp how to insert text at end of each line


From: acomber
Subject: elisp how to insert text at end of each line
Date: Wed, 10 Apr 2013 10:28:29 -0700 (PDT)

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]