Permalink
Browse files

fix issue #129, only the full word fn should become ƒ

  • Loading branch information...
1 parent 804e161 commit 20134dc68bf69e9433f2605a270df0720ac172a3 @scgilardi scgilardi committed Feb 22, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 modules/starter-kit-lisp.el
@@ -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))

0 comments on commit 20134dc

Please sign in to comment.