branch: elpa/nasm-mode commit e7fa960f03619e9420e4321397d71d0005d19f34 Author: Luke Lazurite <aoser97+...@gmail.com> Commit: Luke Lazurite <aoser97+...@gmail.com>
make indent-line-function local Signed-off-by: Luke Lazurite <aoser97+...@gmail.com> --- nasm-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/nasm-mode.el b/nasm-mode.el index df11b53..2be68ac 100644 --- a/nasm-mode.el +++ b/nasm-mode.el @@ -698,6 +698,7 @@ With a prefix arg, kill the comment on the current line with (define-derived-mode nasm-mode prog-mode "NASM" "Major mode for editing NASM assembly programs." :group 'nasm-mode + (make-local-variable 'indent-line-function) (setf font-lock-defaults '(nasm-font-lock-keywords nil :case-fold) indent-line-function #'nasm-indent-line comment-start ";"