.emacs.d/site-lisp/oni.el
This commit is contained in:
parent
7dea9e3f6b
commit
f0daa3f3cf
1 changed files with 4 additions and 6 deletions
|
@ -362,7 +362,8 @@ PLIST contains all the pertinent information."
|
||||||
(episode (match-string 2 str))
|
(episode (match-string 2 str))
|
||||||
(name (match-string 3 str))
|
(name (match-string 3 str))
|
||||||
(date (oni:mini-fix-timestamp-string (match-string 4 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 ()
|
(defun oni:newline-and-indent ()
|
||||||
"`newline-and-indent', but with a twist.
|
"`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)
|
(rainbow-delimiters-mode)
|
||||||
(fci-mode)
|
(fci-mode)
|
||||||
(pretty-symbols-mode)
|
(pretty-symbols-mode)
|
||||||
(yas-minor-mode))
|
(yas-minor-mode)
|
||||||
|
(auto-fill-mode))
|
||||||
|
|
||||||
(defun oni:python-mode-func ()
|
(defun oni:python-mode-func ()
|
||||||
"Function for `python-mode-hook'."
|
"Function for `python-mode-hook'."
|
||||||
|
@ -560,9 +562,5 @@ for easy selection."
|
||||||
"Function for `write-file-hooks'."
|
"Function for `write-file-hooks'."
|
||||||
(time-stamp))
|
(time-stamp))
|
||||||
|
|
||||||
(defun oni:yas-minor-mode-func ()
|
|
||||||
"Function for `yas-minor-mode-hook'."
|
|
||||||
(yas-load-directory (car yas-snippet-dirs)))
|
|
||||||
|
|
||||||
(provide 'oni)
|
(provide 'oni)
|
||||||
;;; oni.el ends here
|
;;; oni.el ends here
|
||||||
|
|
Loading…
Reference in a new issue