Permalink
Browse files

Merge pull request #130 from scgilardi/v2

fix issue #129, only the full word fn should become ƒ
  • Loading branch information...
2 parents 804e161 + 20134dc commit bc0ee5fde5c38df2c44b4da8ac294e7d430e8083 @technomancy 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 bc0ee5f

Please sign in to comment.