aboutsummaryrefslogtreecommitdiff
path: root/utils/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'utils/emacs')
-rw-r--r--utils/emacs/tablegen-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/emacs/tablegen-mode.el b/utils/emacs/tablegen-mode.el
index 08f7f252c6..833c16c599 100644
--- a/utils/emacs/tablegen-mode.el
+++ b/utils/emacs/tablegen-mode.el
@@ -112,6 +112,8 @@
)
(set-syntax-table tablegen-mode-syntax-table)
+ (make-local-variable 'comment-start)
+ (setq comment-start "//")
(run-hooks 'tablegen-mode-hook)) ; Finally, this permits the user to
; customize the mode with a hook.