Closed mkindahl closed 4 years ago
I added support for the comment syntax since I had problems getting M-; and M-q to work properly. It wrapped lines, but did not add or continue the comment.
@jarpy Is this of interest?
Oh, sure!
I'm so sorry, I think perhaps I wasn't following my own repository!
Oh, sure!
I'm so sorry, I think perhaps I wasn't following my own repository!
No worries. :)
Feel free to merge if you think it is OK, or suggest changes if you think some are needed.
I'm really not an expert, this is the only semi-serious elisp I've done.
Happy to merge if you are happy with it.
I'm really not an expert, this is the only semi-serious elisp I've done.
Happy to merge if you are happy with it.
Well, it's not a big change and it works as expected. If it turns out that something could be done better, some more serious elisp expert will fix it. :)
Creating buffer-local versions of comment-start, comment-end and comment-start-skip to make sure that M-q (fill-paragraph) and M-; (comment-dwim) works as it should.