[Emacs] Update org-projectile configs for big-changes branch

This commit is contained in:
Ivan Malison 2016-11-07 12:04:02 -08:00
parent 77ea82bccf
commit 18992c0720
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -3290,19 +3290,20 @@ alphanumeric characters only."
:bind (("C-c n p" . imalison:helm-org-todo)) :bind (("C-c n p" . imalison:helm-org-todo))
:config :config
(progn (progn
(org-projectile:prompt) (require 'org-projectile-helm)
(org-projectile-prompt)
(add-to-list 'org-capture-templates (add-to-list 'org-capture-templates
(org-projectile:project-todo-entry (org-projectile-project-todo-entry
"l" "* TODO %? %a\n" "Linked Project TODO")) "l" "* TODO %? %a\n" "Linked Project TODO"))
(add-to-list 'org-capture-templates (org-projectile:project-todo-entry "p")) (add-to-list 'org-capture-templates (org-projectile-project-todo-entry "p"))
(setq org-confirm-elisp-link-function nil) (setq org-confirm-elisp-link-function nil)
(imalison:add-to-org-agenda-files (org-projectile:todo-files)) (imalison:add-to-org-agenda-files (org-projectile-todo-files))
(require 'helm-source) (require 'helm-source)
(require 'helm-org) (require 'helm-org)
(defun imalison:helm-org-todo (&optional arg) (defun imalison:helm-org-todo (&optional arg)
(interactive "P") (interactive "P")
(helm :sources (list (helm-source-org-capture-templates) (helm :sources (list (helm-source-org-capture-templates)
(org-projectile:helm-source (org-projectile-helm-source
(if arg (imalison:make-org-linked-todo-template) (if arg (imalison:make-org-linked-todo-template)
(imalison:make-org-todo-template)))) (imalison:make-org-todo-template))))
:candidate-number-limit 99999 :candidate-number-limit 99999