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

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

Requested function: just-one-empty-line()


From: Nordlöw
Subject: Requested function: just-one-empty-line()
Date: Mon, 6 Oct 2008 01:50:04 -0700 (PDT)
User-agent: G2/1.0

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


reply via email to

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