Skip to content

Commit d05ec45

Browse files
committed
[Fix #361] Typo in the fn font-lock rule
1 parent cbb3ef0 commit d05ec45

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Bugs fixed
66

7+
* [#361](https://github.com/clojure-emacs/clojure-mode/issues/361): Fixed a typo preventing the highlighting of fn names that don't start with `t`.
78
* [#360](https://github.com/clojure-emacs/clojure-mode/issues/360): `clojure-align` now reindents after aligning, which also fixes an issue with nested alignings.
89

910
### New features

clojure-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ any number of matches of `clojure--sym-forbidden-rest-chars'."))
508508
;; Possibly type
509509
"\\(?:#?^\\sw+[ \t]*\\)?"
510510
;; Possibly name
511-
"\\(t\\sw+\\)?" )
511+
"\\(\\sw+\\)?" )
512512
(1 font-lock-keyword-face)
513513
(2 font-lock-function-name-face nil t))
514514
;; lambda arguments - %, %1, %2, etc

0 commit comments

Comments
 (0)