diff options
author | Fanael Linithien <fanael4@gmail.com> | 2014-11-22 17:23:01 (GMT) |
---|---|---|
committer | Fanael Linithien <fanael4@gmail.com> | 2014-11-23 21:23:35 (GMT) |
commit | c600a8258959e7338296423bc05cf47534272ae7 (patch) | |
tree | f7db6e11d2069932eae94a220502c6ee93412c1e | |
parent | 2f7f4ae945f440744fb5addc39c637e48f5a08f2 (diff) | |
download | Ninja-c600a8258959e7338296423bc05cf47534272ae7.zip Ninja-c600a8258959e7338296423bc05cf47534272ae7.tar.gz Ninja-c600a8258959e7338296423bc05cf47534272ae7.tar.bz2 |
Set comment-start buffer-locally, not globally.
-rw-r--r-- | misc/ninja-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ninja-mode.el b/misc/ninja-mode.el index 48709bc..10cec3e 100644 --- a/misc/ninja-mode.el +++ b/misc/ninja-mode.el @@ -40,7 +40,7 @@ ;;;###autoload (define-derived-mode ninja-mode prog-mode "ninja" - (setq comment-start "#") + (set (make-local-variable 'comment-start) "#") ;; Pass extra "t" to turn off syntax-based fontification -- we don't want ;; quoted strings highlighted. (setq font-lock-defaults '(ninja-keywords t))) |