Skip to content

Commit affd573

Browse files
committed
Font-lock the special forms fn*, let* and loop*
1 parent c26b9c3 commit affd573

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clojure-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ any number of matches of `clojure--sym-forbidden-rest-chars'."))
465465

466466
(defconst clojure-font-lock-keywords
467467
(eval-when-compile
468-
`(;; Top-level variable definition
468+
`( ;; Top-level variable definition
469469
(,(concat "(\\(?:clojure.core/\\)?\\("
470470
(regexp-opt '("def" "defonce"))
471471
;; variable declarations
@@ -517,7 +517,7 @@ any number of matches of `clojure--sym-forbidden-rest-chars'."))
517517
(,(concat
518518
"("
519519
(regexp-opt
520-
'("def" "do" "if" "let" "var" "fn" "loop"
520+
'("def" "do" "if" "let" "let*" "var" "fn" "fn*" "loop" "loop*"
521521
"recur" "throw" "try" "catch" "finally"
522522
"set!" "new" "."
523523
"monitor-enter" "monitor-exit" "quote") t)

0 commit comments

Comments
 (0)