branch: elpa/nasm-mode
commit e8ca8b9ae1e91e74d46ae06fac8e5df717d71ed3
Author: Christopher Wellons <well...@nullprogram.com>
Commit: Christopher Wellons <well...@nullprogram.com>

    Make comment-start local.
---
 nasm-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nasm-mode.el b/nasm-mode.el
index 2be68ac..ab5ff32 100644
--- a/nasm-mode.el
+++ b/nasm-mode.el
@@ -699,6 +699,7 @@ With a prefix arg, kill the comment on the current line with
   "Major mode for editing NASM assembly programs."
   :group 'nasm-mode
   (make-local-variable 'indent-line-function)
+  (make-local-variable 'comment-start)
   (setf font-lock-defaults '(nasm-font-lock-keywords nil :case-fold)
         indent-line-function #'nasm-indent-line
         comment-start ";"

Reply via email to