Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org-capture-templates (quote (
- ("u" "University" entry (file+headline "school.org" "University") "** %^{Course Code} %^g\n + TITLE: %^{Course Title}\n + ADDED: %U\n%?")
- ("a" "Assignment" entry (file+function "school.org" course-code) "*** TODO %^{Title} %^g\n + ADDED: %U\n + DEADLINE: %^T\n%?")
- (defun course-code (&rest junk)
- (interactive)
- (let ((str (read-from-minibuffer "Enter course code: ")))
- (read str)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement