Subject: 26.2 Comment-dwim

From: Charles Jackson <[email-masked]>
Date: Tue, 20 Aug 2019 15:39:58 +0000

I would like the comment-dwim function to be able to differentiate end-of-line comments from whole-line comments.
For example in java mode it would make sense for // to be the end-of-line comment, but if point is on an empty line then comment-dwim would insert /* */ with point inside the /* */ like so: /* | */ where | is the point location.