branch: elpa/julia-mode
commit 8b30aff246d79a24f34de49c7f9cd5cf3a9e1b28
Author: Jeff Bezanson <[email protected]>
Commit: Yichao Yu <[email protected]>
adding support for comment-related commands to emacs mode
---
julia-mode.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/julia-mode.el b/julia-mode.el
index c76ddc5..8c7611c 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -187,6 +187,8 @@
(interactive)
(kill-all-local-variables)
(set-syntax-table julia-mode-syntax-table)
+ (set (make-local-variable 'comment-start) "# ")
+ (set (make-local-variable 'comment-start-skip) "#+\\s-*")
(set (make-local-variable 'font-lock-defaults) '(julia-font-lock-keywords))
; (set (make-local-variable 'font-lock-syntactic-keywords)
; (list