From 812f146cc24e1317fd444941fd0dd688d446a349 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 28 Jan 2014 15:51:10 +0900 Subject: [PATCH] enable flyspell-mode for markdown files --- emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 138b70d..f98f803 100644 --- a/emacs.el +++ b/emacs.el @@ -939,7 +939,7 @@ found, otherwise returns nil." (setq sh-here-document-word "__EOC__") (defun my-execute-shell-command-current-line () - "Run current line as shell command" + "Run current line as shell command." (interactive) (shell-command (buffer-substring-no-properties (point-at-bol) (point)))) @@ -1002,6 +1002,7 @@ found, otherwise returns nil." (add-hook 'markdown-mode-hook (lambda () (outline-minor-mode 1) + (flyspell-mode) (set (make-local-variable 'comment-start) ";")))) ;; http://d.hatena.ne.jp/emergent/20070203/1170512717