Skip to content

Commit

Permalink
Merge pull request technomancy#130 from scgilardi/v2
Browse files Browse the repository at this point in the history
fix issue technomancy#129, only the full word fn should become ƒ
  • Loading branch information
technomancy committed Feb 22, 2012
2 parents 804e161 + 20134dc commit bc0ee5f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/starter-kit-lisp.el
Expand Up @@ -83,10 +83,11 @@
'esk-turn-on-paredit))

(defun esk-pretty-fn ()
(font-lock-add-keywords nil `(("(\\(fn\\>\\)"
(font-lock-add-keywords nil `(("(\\(\\<fn\\>\\)"
(0 (progn (compose-region (match-beginning 1)
(match-end 1)
"\u0192") nil))))))
"\u0192"
'decompose-region)))))))
(add-hook 'clojure-mode-hook 'esk-pretty-fn)
(add-hook 'clojurescript-mode-hook 'esk-pretty-fn))

Expand Down

0 comments on commit bc0ee5f

Please sign in to comment.