unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* elisp how to insert text at end of each line
@ 2013-04-10 17:28 acomber
  2013-04-10 17:36 ` Steven Degutis
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: acomber @ 2013-04-10 17:28 UTC (permalink / raw)
  To: Help-gnu-emacs

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.



^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <mailman.23893.1365614915.855.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2013-04-11 14:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-10 17:28 elisp how to insert text at end of each line acomber
2013-04-10 17:36 ` Steven Degutis
2013-04-10 17:39 ` Teemu Likonen
2013-04-10 17:42   ` Teemu Likonen
2013-04-10 18:13 ` Thorsten Jolitz
2013-04-11 10:23   ` acomber
2013-04-11 10:50     ` Andreas Röhler
2013-04-11 11:01     ` Andreas Röhler
2013-04-11 11:32     ` Thorsten Jolitz
2013-04-11 14:02       ` acomber
     [not found] <mailman.23893.1365614915.855.help-gnu-emacs@gnu.org>
2013-04-10 18:07 ` Michael Heerdegen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).