Skip to content

Commit

Permalink
Fix org-repo-todo loading
Browse files Browse the repository at this point in the history
- Incorrect function name
- Remove explicit list of commands (they all have autoload cookies)
  • Loading branch information
TheBB committed Sep 18, 2015
1 parent 220b15a commit d0d2b15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
12 changes: 6 additions & 6 deletions layers/org/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ org-present must be activated explicitly by typing: ~SPC : org-present~

** Org-repo-todo

| Key Binding | Description |
|-------------+------------------------|
| ~SPC C c~ | org-capture |
| ~SPC C t~ | ort/capture-todo |
| ~SPC C T~ | ort/capture-todo-check |
| ~SPC m g t~ | ort/goto-todos |
| Key Binding | Description |
|-------------+-----------------------|
| ~SPC C c~ | org-capture |
| ~SPC C t~ | ort/capture-todo |
| ~SPC C T~ | ort/capture-checkitem |
| ~SPC m g t~ | ort/goto-todos |
7 changes: 2 additions & 5 deletions layers/org/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -239,17 +239,14 @@ Will work on both org-mode and any mode that accepts plain html."
(add-hook 'org-present-mode-hook 'spacemacs//org-present-start)
(add-hook 'org-present-mode-quit-hook 'spacemacs//org-present-end))))


(defun org/init-org-repo-todo ()
(use-package org-repo-todo
:commands (ort/capture-todo
ort/capture-todo-check
ort/goto-todos)
:defer t
:init
(progn
(evil-leader/set-key
"Ct" 'ort/capture-todo
"CT" 'ort/capture-todo-check)
"CT" 'ort/capture-checkitem)
(evil-leader/set-key-for-mode 'org-mode
"mgt" 'ort/goto-todos))))

Expand Down

0 comments on commit d0d2b15

Please sign in to comment.