skeeto / nasm-mode

Major mode for editing NASM assembly programs
The Unlicense
79 stars 17 forks source link

make comment functions local #13

Closed nverno closed 5 years ago

nverno commented 5 years ago

This just makes comment-insert-comment-function and comment-indent-function local variables (they aren't buffer-locals).

skeeto commented 5 years ago

Thanks! I'm honestly surprised they're not automatically buffer-local.

nverno commented 5 years ago

Same, I think it might just be that not that many modes set them, so the defaults generally work.