blob: c926be39eb3936e9fb65eb41955bd63707b8efbd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
;;; my-text.el --- configures modes related to text -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(require 'flyspell)
(setq ispell-dictionary "en_US"
ispell-program-name "aspell"
ispell-extra-args '("--camel-case"))
(add-hook 'text-mode-hook 'flyspell-mode)
(add-hook 'prog-mode-hook 'flyspell-prog-mode)
(require 'markdown-mode)
(setq markdown-fontify-code-blocks-natively t)
(when (executable-find "pandoc")
(setq markdown-command "pandoc -f markdown -t html"))
(provide 'my-text)
;;; my-text.el ends here
|