1 I added the following to my
<code>.emacs
</code>.
3 The hook is to convert tabs to spaces to avoid unpleasant
4 surprises with code blocks. For source to ska-untabify see the
5 <a href=
"http://www.emacswiki.org/cgi-bin/wiki/UntabifyUponSave">EmacsWiki
</a>
7 (autoload 'markdown-mode
"markdown-mode")
8 (add-to-list 'auto-mode-alist '(
"\\.mdwn" . markdown-mode))
10 (add-hook 'markdown-mode-hook
12 (make-local-hook 'write-contents-hooks)
13 (add-hook 'write-contents-hooks 'ska-untabify nil t)))