unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Requested function: just-one-empty-line()
@ 2008-10-06  8:50 Nordlöw
  2008-10-06 11:15 ` Bernardo Bacic
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Nordlöw @ 2008-10-06  8:50 UTC (permalink / raw)
  To: help-gnu-emacs

I'm looking for a function just-one-empty-line(), or empty-lines() for
the multi-line-variant, that does kind of what just-one-space() does
but instead works on empty lines. Any suggestions?

Example:

pre;\n
\n
\n
post;

is converted to

pre;\n
\n
post;

Thanks in advance,
Nordlöw


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-10-07  2:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-06  8:50 Requested function: just-one-empty-line() Nordlöw
2008-10-06 11:15 ` Bernardo Bacic
     [not found] ` <mailman.350.1223291799.25473.help-gnu-emacs@gnu.org>
2008-10-06 11:20   ` Nordlöw
2008-10-06 11:39 ` Sergei
2008-10-06 11:50 ` Andreas Politz
2008-10-06 12:14   ` Nordlöw
2008-10-06 14:27     ` Xah
2008-10-06 15:24       ` Andreas Politz
2008-10-07  2:53         ` Xah

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