QBobWatson / poporg

Emacs programming tool for editing strings or comments in Org mode or any other text mode
GNU General Public License v3.0
91 stars 9 forks source link

Handle C-style comments better, fix style warnings #13

Open rudi opened 7 months ago

rudi commented 7 months ago

When extracting comment text, skip over both comment-start and comment-start-skip resp. comment-end and comment-end-skip. This matters for C-style languages, where both of these variables pairs are in use.

Remove unused dependency on cl.

Quote symbols like'this', as described in Section "Documentation Tips" of the elisp manual, to make the byte compiler happy.

rudi commented 7 months ago

The bug I'm trying to fix is that C-style block comments did not get the comment markers and "*" line prefix removed when opening them in poporg.