Skip to content

Commit

Permalink
Render clojure's fn as ƒ.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed May 21, 2010
1 parent 418be9d commit fbbb9e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions starter-kit-lisp.el
Expand Up @@ -56,5 +56,12 @@
(add-hook
(intern (concat (symbol-name x) "-mode-hook")) 'run-coding-hook))

(eval-after-load 'clojure-mode
'(font-lock-add-keywords
'clojure-mode `(("(?\\(fn\\>\\)"
(0 (progn (compose-region (match-beginning 1)
(match-end 1) "ƒ")
nil))))))

(provide 'starter-kit-lisp)
;; starter-kit-lisp.el ends here

0 comments on commit fbbb9e3

Please sign in to comment.