summaryrefslogtreecommitdiff
path: root/utils/emacs/tablegen-mode.el
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-21 05:07:57 +0000
committerChris Lattner <sabre@nondot.org>2009-10-21 05:07:57 +0000
commit69412f81fcbafc64e7df8f7a8b862fbfc7adabe9 (patch)
tree880ee0823e993bda2c84b4ebe226138564d004a4 /utils/emacs/tablegen-mode.el
parenta52fce49eb3ee08a4829faf68e32476ff717893b (diff)
Set comment string, patch by Johnny Chen!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/emacs/tablegen-mode.el')
-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 08f7f252c68..833c16c599d 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.