.emacs.d/site-lisp/oni.el

This commit is contained in:
Tom Willemsen 2012-10-22 23:59:18 +02:00
parent 7dea9e3f6b
commit f0daa3f3cf

View file

@ -362,7 +362,8 @@ PLIST contains all the pertinent information."
(episode (match-string 2 str))
(name (match-string 3 str))
(date (oni:mini-fix-timestamp-string (match-string 4 str))))
(format "* ACQUIRE %s %s - %s <%s>" title episode name date))))
(format "* ACQUIRE %s %s - %s \n SCHEDULED: <%s>"
title episode name date))))
(defun oni:newline-and-indent ()
"`newline-and-indent', but with a twist.
@ -396,7 +397,8 @@ When dealing with braces, add another line and indent that too."
(rainbow-delimiters-mode)
(fci-mode)
(pretty-symbols-mode)
(yas-minor-mode))
(yas-minor-mode)
(auto-fill-mode))
(defun oni:python-mode-func ()
"Function for `python-mode-hook'."
@ -560,9 +562,5 @@ for easy selection."
"Function for `write-file-hooks'."
(time-stamp))
(defun oni:yas-minor-mode-func ()
"Function for `yas-minor-mode-hook'."
(yas-load-directory (car yas-snippet-dirs)))
(provide 'oni)
;;; oni.el ends here