summaryrefslogtreecommitdiffstats
path: root/.emacs.d/site-lisp/oni.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/site-lisp/oni.el')
-rw-r--r--.emacs.d/site-lisp/oni.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/site-lisp/oni.el b/.emacs.d/site-lisp/oni.el
index 35e85dc..9b02dc1 100644
--- a/.emacs.d/site-lisp/oni.el
+++ b/.emacs.d/site-lisp/oni.el
@@ -379,7 +379,9 @@ When dealing with braces, add another line and indent that too."
(defun oni:org-mode-func ()
"Function for `org-mode-hook'."
- (auto-fill-mode))
+ (auto-fill-mode)
+ (yas-minor-mode)
+ (setq-local comment-auto-fill-only-comments nil))
(defun oni:php-mode-func ()
"Function for `php-mode-hook'."