From: Andreas Gerler Date: Thu, 20 Mar 2014 09:34:46 +0000 (+0100) Subject: start auto-fill-mode with org-mode and latex-mode. X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=dcff5010f0b14d552a07af1e9148dd03b680130e;p=emacsconfig.git start auto-fill-mode with org-mode and latex-mode. Signed-off-by: Andreas Gerler --- diff --git a/init.el b/init.el index ac3b3c39..d0be5149 100644 --- a/init.el +++ b/init.el @@ -385,6 +385,16 @@ bundle " name " (define-key cfengine3-mode-map "\C-c\C-c" 'compile) )) +(add-hook 'org-mode-hook + (lambda () + (auto-fill-mode) + )) + +(add-hook 'latex-mode-hook + (lambda () + (auto-fill-mode) + )) + (defun dns-rndc () "Do rndc reload of current buffers filename."