emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nasm-mode 65ca654 67/67: make comment functions local


From: ELPA Syncer
Subject: [nongnu] elpa/nasm-mode 65ca654 67/67: make comment functions local
Date: Sun, 29 Aug 2021 11:23:54 -0400 (EDT)

branch: elpa/nasm-mode
commit 65ca6546fc395711fac5b3b4299e76c2303d43a8
Author: nverno <noah.v.peart@gmail.com>
Commit: nverno <noah.v.peart@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

[Prev in Thread] Current Thread [Next in Thread]