Last active
December 18, 2015 15:28
-
-
Save maximvl/5804251 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun esk-pretty-fun () | |
(font-lock-add-keywords | |
nil `(("\\(\\<fun\\>\\)(" | |
(0 (progn (compose-region (match-beginning 1) | |
(match-end 1) | |
"\u0192" ;; ,(make-char 'greek-iso8859-7 107) for lambda | |
'decompose-region))))))) | |
(add-hook 'erlang-mode-hook 'esk-pretty-fun) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment