Skip to content

Commit 4cb5477

Browse files
committed
Add test and changelog entry
1 parent 48d4cb2 commit 4cb5477

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
### Bugs fixed
1010

11+
* [#544](https://github.com/clojure-emacs/clojure-mode/issues/544): Fix docstring detection when string contains backslash.
1112
* [#547](https://github.com/clojure-emacs/clojure-mode/issues/547): Fix font-lock regex for character literals for uppercase chars and other symbols.
1213
* [#556](https://github.com/clojure-emacs/clojure-mode/issues/556): Fix renaming of ns aliases containing regex characters.
1314
* [#555](https://github.com/clojure-emacs/clojure-mode/issues/555): Fix ns detection for ns forms with complex metadata.

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

+6-1
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,12 @@ DESCRIPTION is the description of the spec."
806806

807807
("(def foo \n \"usage\" \n \"hello\")"
808808
(13 19 font-lock-doc-face)
809-
(24 30 font-lock-string-face)))
809+
(24 30 font-lock-string-face))
810+
811+
("(def test-string\n \"this\\n\n is\n my\n string\")"
812+
(20 24 font-lock-string-face)
813+
(25 26 (bold font-lock-string-face))
814+
(27 46 font-lock-string-face)))
810815

811816
(when-fontifying-it "should handle deftype"
812817
("(deftype Foo)"

0 commit comments

Comments
 (0)