]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
text-mode: use auto-fill and flyspell
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 27 Aug 2015 12:41:21 +0000 (14:41 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 27 Aug 2015 12:41:21 +0000 (14:41 +0200)
bba.org

diff --git a/bba.org b/bba.org
index c5561ab03de7dd45d3540191f332b76908cbc05a..53a414b77cbaa42388887dae1a45da2d8907d248 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -888,6 +888,12 @@ taken from http://doc.norang.ca/org-mode.org
                     (define-key org-mode-map "\C-h\C-y" '(lambda () (interactive) (find-file "~/.emacs.d/snippets/org-mode.org")))
 
                     ))
+        (add-hook 'text-mode-hook
+                  (lambda ()
+                    (auto-fill-mode)
+                    (flyspell-mode)
+                    )
+                  )
         )
     (progn
       (add-hook 'org-mode-hook