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