diff options
author | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2014-11-05 14:31:14 +0000 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2014-11-05 14:31:14 +0000 |
commit | 92663e3a681fbdf21c8724a93ec3cfee02ca5555 (patch) | |
tree | d5a8b9e3f99ccb9395ac423da8016d703f652a43 | |
parent | fix magit local branch names (diff) | |
download | emacs-92663e3a681fbdf21c8724a93ec3cfee02ca5555.tar.gz emacs-92663e3a681fbdf21c8724a93ec3cfee02ca5555.tar.bz2 emacs-92663e3a681fbdf21c8724a93ec3cfee02ca5555.zip |
markdown mode
-rwxr-xr-x | init.el | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -205,6 +205,13 @@ (add-to-list 'auto-mode-alist '("\\.pde\\'" . arduino-mode)) (add-to-list 'auto-mode-alist '("\\.ino\\'" . arduino-mode)) +(add-to-list 'auto-mode-alist '("\\.md$" . markdown-mode)) +(add-hook 'markdown-mode-hook (lambda () + (progn + (auto-fill-mode 1) + (flyspell-mode) + ))) + ; I use references in my LaTeX files (add-hook 'latex-mode-hook 'turn-on-reftex) ; sometimes I edit POVRay files (mode from http://www.xahlee.org/3d/povray_emacs.html ) |