From: Chris Lattner Date: Wed, 21 Oct 2009 05:07:57 +0000 (+0000) Subject: Set comment string, patch by Johnny Chen! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=69412f81fcbafc64e7df8f7a8b862fbfc7adabe9;p=oota-llvm.git Set comment string, patch by Johnny Chen! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84743 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.