summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-10-07 13:18:59 +0200
committerGravatar Tom Willemsen2012-10-07 13:18:59 +0200
commit5cfcc802d2e1d71f4cedf0c3eec0e24a95d29c17 (patch)
tree29a921754e8b1e30c478a20fc59c1f297e3db93b /.emacs.d/init.el
parent91d5bae6f37889d7d49876b22007f713f2719b16 (diff)
downloaddotfiles-5cfcc802d2e1d71f4cedf0c3eec0e24a95d29c17.tar.gz
dotfiles-5cfcc802d2e1d71f4cedf0c3eec0e24a95d29c17.zip
.emacs.d/init.el
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 3b660e1..6c03dc6 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -238,6 +238,7 @@ DOT are intentionally being skipped."
(defun oni:html-mode-func ()
"Function for `html-mode-hook'."
+ (yas-minor-mode)
(fci-mode))
(defun oni:indent-shift-left (start end &optional count)
@@ -413,6 +414,10 @@ code. Found at http://xahlee.org/emacs/elisp_parse_time.html"
(end-of-line)))
(end-of-line))))
+;; (defun oni:mu4e-view-mode-func ()
+;; "Function for `mu4e-view-mode-hook'."
+;; (longlines-mode))
+
(defun oni:myepisodes-formatter (plist)
"Format RSS items from MyEpisodes as org tasks.
PLIST contains all the pertinent information."
@@ -442,7 +447,8 @@ When dealing with braces, add another line and indent that too."
(defun oni:org-mode-func ()
"Function for `org-mode-hook'."
(flyspell-mode)
- (auto-fill-mode))
+ (auto-fill-mode)
+ (yas-minor-mode))
(defun oni:php-mode-func ()
"Function for `php-mode-hook'."
@@ -897,7 +903,7 @@ for easy selection."
(setq org-feed-alist
'(("MyEpisodes"
"http://www.myepisodes.com/rss.php?feed=mylist&uid=Slash&pwdmd5=04028968e1f0b7ee678b748a4320ac17"
- "~/documents/org/org" "MyEpisodes"
+ "~/documents/org/tasks" "MyEpisodes"
:formatter oni:myepisodes-formatter)))
(setq org-hide-emphasis-markers t)
(setq org-outline-path-complete-in-steps t)
@@ -981,6 +987,7 @@ for easy selection."
(add-hook 'magit-log-edit-mode-hook 'oni:magit-log-edit-mode-func)
(add-hook 'markdown-mode-hook 'oni:markdown-mode-func)
(add-hook 'message-mode-hook 'oni:message-mode-func)
+;; (add-hook 'mu4e-view-mode-hook 'oni:mu4e-view-mode-func)
(add-hook 'org-mode-hook 'oni:org-mode-func)
(add-hook 'php-mode-hook 'oni:php-mode-func)
(add-hook 'prog-mode-hook 'oni:prog-mode-func)