branch: elpa/nasm-mode
commit 65ca6546fc395711fac5b3b4299e76c2303d43a8
Author: nverno <noah.v.pe...@gmail.com>
Commit: nverno <noah.v.pe...@gmail.com>

    make comment functions local
---
 nasm-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nasm-mode.el b/nasm-mode.el
index 842d347..307e871 100644
--- a/nasm-mode.el
+++ b/nasm-mode.el
@@ -746,6 +746,8 @@ With a prefix arg, kill the comment on the current line with
   :group 'nasm-mode
   (make-local-variable 'indent-line-function)
   (make-local-variable 'comment-start)
+  (make-local-variable 'comment-insert-comment-function)
+  (make-local-variable 'comment-indent-function)
   (setf font-lock-defaults '(nasm-font-lock-keywords nil :case-fold)
         indent-line-function #'nasm-indent-line
         comment-start ";"

Reply via email to