ソースを参照

Add flyspell configs

master
10sr 4年前
コミット
0f138d2f9d
署名者: 10sr GPGキーID: 7BEC428194130EB2
1個のファイルの変更13行の追加1行の削除
  1. +13
    -1
      emacs.el

+ 13
- 1
emacs.el ファイルの表示

@@ -1726,10 +1726,22 @@ Otherwize hook it."
(add-hook 'markdown-mode-hook (add-hook 'markdown-mode-hook
(lambda () (lambda ()
(outline-minor-mode 1) (outline-minor-mode 1)
(flyspell-mode)
(set (make-local-variable 'comment-start) ";"))) (set (make-local-variable 'comment-start) ";")))
) )


;; http://keisanbutsuriya.hateblo.jp/entry/2015/02/10/152543
(when (executable-find "aspell")
(setq-default ispell-program-name "aspell"))
(with-eval-after-load 'ispell
(add-to-list 'ispell-skip-region-alist '("[^\000-\377]+")))

(when (fboundp 'flyspell-mode)
(add-hook 'text-mode-hook
'flyspell-mode))
(when (fboundp 'flyspell-prog-mode)
(add-hook 'prog-mode-hook
'flyspell-prog-mode))

;; c-mode ;; c-mode
;; http://www.emacswiki.org/emacs/IndentingC ;; http://www.emacswiki.org/emacs/IndentingC
;; http://en.wikipedia.org/wiki/Indent_style ;; http://en.wikipedia.org/wiki/Indent_style


読み込み中…
キャンセル
保存