summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2018-09-23 18:09:53 -0700
committerFranck Cuny <fcuny@twitter.com>2018-09-23 18:09:53 -0700
commite1fae252ff03b6e78c0045ec37a6ea7c26d0264e (patch)
tree388293259a8e84f1be35452119e9805c371befe0 /configs
parent[emacs] set font size to 15 (diff)
downloademacs.d-e1fae252ff03b6e78c0045ec37a6ea7c26d0264e.tar.gz
[emacs] Small improvement to markdown config.
Diffstat (limited to '')
-rw-r--r--configs/rcs/emacs.d/init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el
index 45cfd2c..fb30546 100644
--- a/configs/rcs/emacs.d/init.el
+++ b/configs/rcs/emacs.d/init.el
@@ -229,7 +229,11 @@
 ;;; text formats
 
 (use-package markdown-mode
-  :after (flyspell))
+  :after (flyspell)
+  :commands (markdown-mode gfm-mode)
+  :mode (("README\\.md\\'" . gfm-mode)
+         ("\\.md\\'" . markdown-mode)
+         ("\\.markdown\\'" . markdown-mode)))
 
 ;;; source control