[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comment-kill can't deal with following situation
From: |
Andreas Röhler |
Subject: |
Re: comment-kill can't deal with following situation |
Date: |
Sun, 2 Mar 2008 17:12:04 +0100 |
User-agent: |
KMail/1.9.5 |
Am Sonntag, 2. März 2008 14:49 schrieb lgfang:
> int j; /* comment 1 */ int k; /* comment 2*/
Herewith a patch. It relies at the fact, that if a
comment was removed, variable `cs' was set before with
`(cs (comment-search-forward`.
Performs a recursive call as long that's true on a
given line.
As the argument only make sense as a numeric one, I
used interactive lesser p. That prevents another bug,
which would occur with this fix otherwise.
HTH
Andreas Röhler
comment-kill.diff
Description: Text Data