# HG changeset patch # User Oleksandr Gavenko # Date 1485690738 -7200 # Node ID c8da9757d03688e5106c158864335813886d5f0e # Parent 431c5408394c71b9acb67602d877f71da0cb7578 Enable flyspell for rst-mode. diff -r 431c5408394c -r c8da9757d036 .emacs-my --- a/.emacs-my Sat Jan 28 14:41:20 2017 +0200 +++ b/.emacs-my Sun Jan 29 13:52:18 2017 +0200 @@ -1490,6 +1490,9 @@ '(rst-level-6face ((t (:background "yellow"))) t) ) ) ) +(when (featurep 'flyspell) + (add-hook 'rst-mode-hook #'flyspell-mode)) + (when (featurep 'company) (add-hook 'rst-mode-hook #'my/company-text-setup))