I've just started using emacs starter kit & clojure-mode. Now, when I type or paste '(fn
' into a buffer in clojure mode, the 'fn
' characters get replaced in the window with a slightly curly lower case f. The buffer is saved correctly, but it's extremely annoying, especially as I discovered the feature the hard way - puzzling over someone's 'impossible' code snippet and editing it down to a one-liner before light dawned. Any idea why it does this, or more importantly, how to switch it off?
It can be turned off by adding the following line to your init.el
after loading starter-kit-lisp.
(remove-hook 'clojure-mode-hook 'esk-pretty-fn)
Then re-load Emacs for it to take effect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With