branch: elpa/julia-mode
commit ef8a44cd1074e2a5d4748520349e95feb8105474
Author: Jeff Bezanson <bezan...@post.harvard.edu>
Commit: Yichao Yu <yyc1...@gmail.com>

    replacing ` with : for symbol and expression quoting
    adding quote..end syntax for quoting blocks
    lots of little changes everywhere!
---
 julia-mode.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/julia-mode.el b/julia-mode.el
index 04c9bc4..f3ba1a3 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -45,8 +45,8 @@
      (concat "\\<\\("
          (mapconcat
           'identity
-          '("if" "else" "elseif" "while" "for" "begin" "end"
-            "try" "catch" "return" "local" "type" "function"
+          '("if" "else" "elseif" "while" "for" "begin" "end" "quote"
+            "try" "catch" "return" "local" "type" "function" "macro"
            "typealias" "break" "continue" "struct" "global"
            "module" "import" "export" "const" "let" "bitstype")
           "\\|") "\\)\\>")
@@ -54,7 +54,8 @@
     '("\\\\\\s-*\".*?\"" . font-lock-string-face)))
 
 (defconst julia-block-start-keywords
-  (list "if" "while" "for" "begin" "try" "function" "struct" "let"))
+  (list "if" "while" "for" "begin" "try" "function" "struct" "let" "macro"
+       "quote"))
 
 (defconst julia-block-other-keywords
   (list "else" "elseif"))

Reply via email to