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

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

Re: Whitespace deletion


From: Kevin Rodgers
Subject: Re: Whitespace deletion
Date: Thu, 08 Dec 2005 15:05:25 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

August Karlstrom wrote:
> Is there an Emacs command that works like just-one-space, but also
> deletes newlines?
>
> Example:
>
> I want to   -!-
>
>    join these two lines
>
> should become
>
> I want to -!-join these two lines

Does this help?

,----[ C-h k M-^ ]
| M-^ runs the command delete-indentation
|    which is an interactive compiled Lisp function in `simple'.
| (delete-indentation &optional ARG)
|
| Join this line to previous and fix up whitespace at join.
| If there is a fill prefix, delete it from the beginning of this line.
| With argument, join this line to following line.
`----

--
Kevin Rodgers





reply via email to

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