From 439fa3eddd1be3b470816ec372109d760a7297cb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 21 Oct 2009 05:07:57 +0000 Subject: Set comment string, patch by Johnny Chen! llvm-svn: 84743 --- llvm/utils/emacs/tablegen-mode.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/utils/emacs') diff --git a/llvm/utils/emacs/tablegen-mode.el b/llvm/utils/emacs/tablegen-mode.el index 08f7f252c68..833c16c599d 100644 --- a/llvm/utils/emacs/tablegen-mode.el +++ b/llvm/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. -- cgit v1.2.3