From e1fae252ff03b6e78c0045ec37a6ea7c26d0264e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 23 Sep 2018 18:09:53 -0700 Subject: [emacs] Small improvement to markdown config. --- configs/rcs/emacs.d/init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configs') 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 -- cgit 1.4.1