From 4a931cac5f3b211d3824b03bc776f7555e034500 Mon Sep 17 00:00:00 2001 From: MadMaurice Date: Sat, 8 Sep 2018 02:08:17 +0200 Subject: [PATCH] Use // in asm comments --- emacs/.emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 8fb6cae..677eed7 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -21,6 +21,11 @@ ;; Ask if you want to quit emacs (setq confirm-kill-emacs 'my/yes-or-whatever-p) +;; Use // as comment in asm +(add-hook 'asm-mode-hook + (lambda () (setq comment-start "//" + comment-end ""))) + ;; Nope function (defun nope () (interactive)