Skip to content

Commit 619b9a6

Browse files
committed
Document indentation and font-locking of (let|when|while)-* forms
Also improve a test.
1 parent 3baafc2 commit 619b9a6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## master (unreleased)
44

5+
* Indent and font-lock forms that start with `let-`, `while-` or `when-` like their counterparts.
6+
57
## 5.0.1 (15/11/2015)
68

79
### Bugs fixed

test/clojure-mode-font-lock-test.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ POS."
127127
(ert-deftest clojure-mode-syntax-table/fontify-let-when-while-type-forms ()
128128
:tags '(fontification syntax-table)
129129
(should (equal (clojure-test-face-at 2 11 "(when-alist [x 1]\n ())") 'font-lock-keyword-face))
130-
(should (equal (clojure-test-face-at 2 11 "(while-alist [x 1]\n ())") 'font-lock-keyword-face))
131-
(should (equal (clojure-test-face-at 2 11 "(let-alist [x 1]\n ())") 'various-faces)))
130+
(should (equal (clojure-test-face-at 2 12 "(while-alist [x 1]\n ())") 'font-lock-keyword-face))
131+
(should (equal (clojure-test-face-at 2 10 "(let-alist [x 1]\n ())") 'font-lock-keyword-face)))
132132

133133
(ert-deftest clojure-mode-syntax-table/type ()
134134
:tags '(fontification syntax-table)

0 commit comments

Comments
 (0)