This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/org-repo-todo/extensions.el
2014-11-26 18:22:37 -05:00

32 lines
963 B
EmacsLisp

(defvar org-repo-todo-pre-extensions
'(
;; pre extension org-repo-todos go here
org-repo-todo
)
"List of all extensions to load before the packages.")
(defvar org-repo-todo-post-extensions
'(
;; post extension org-repo-todos go here
)
"List of all extensions to load after the packages.")
;; For each extension, define a function org-repo-todo/init-<extension-org-repo-todo>
;;
(defun org-repo-todo/init-org-repo-todo ()
"Initialize my extension"
(use-package org-repo-todo
:commands (ort/capture-todo
ort/capture-todo-check
ort/goto-todos)
:load-path "contrib/org-repo-todo/org-repo-todo"
:init
(evil-leader/set-key
"oct" 'ort/capture-todo
"occ" 'ort/capture-todo-check
"ogt" 'ort/goto-todos
)))
;;
;; Often the body of an initialize function uses `use-package'
;; For more info on `use-package', see readme:
;; https://github.com/jwiegley/use-package