Remove unused let
This commit is contained in:
parent
53700a9793
commit
bea6ff65bc
|
@ -1,4 +1,3 @@
|
||||||
(let)
|
|
||||||
(setq org-directory "~/Org"
|
(setq org-directory "~/Org"
|
||||||
org-journal-dir (expand-file-name "journal" org-directory)
|
org-journal-dir (expand-file-name "journal" org-directory)
|
||||||
org-journal-file-type 'daily
|
org-journal-file-type 'daily
|
||||||
|
@ -17,29 +16,28 @@
|
||||||
org-outline-path-complete-in-steps nil
|
org-outline-path-complete-in-steps nil
|
||||||
org-default-notes-file (expand-file-name "notes.org" org-directory))
|
org-default-notes-file (expand-file-name "notes.org" org-directory))
|
||||||
|
|
||||||
(let ((project-template "#+title: ${title}\n#+category: ${title}\n* Goals\n\n* [%] Tasks\n\n* Notes\n\n* References\n"))
|
(setq org-capture-templates
|
||||||
(setq org-capture-templates
|
'(("n" "Note" entry
|
||||||
'(("n" "Note" entry
|
(file+headline "notes.org" "Inbox")
|
||||||
(file+headline "notes.org" "Inbox")
|
"* %?"
|
||||||
"* %?"
|
:prepend t
|
||||||
:prepend t
|
:empty-lines 1)
|
||||||
:empty-lines 1)
|
("N" "Note (with context)" entry
|
||||||
("N" "Note (with context)" entry
|
(file+headline "notes.org" "Inbox")
|
||||||
(file+headline "notes.org" "Inbox")
|
"* %?\n%a\n%i"
|
||||||
"* %?\n%a\n%i"
|
:prepend t
|
||||||
:prepend t
|
:empty-lines 1)
|
||||||
:empty-lines 1)
|
("t" "Task" entry
|
||||||
("t" "Task" entry
|
(file+headline "todo.org" "Inbox")
|
||||||
(file+headline "todo.org" "Inbox")
|
"* TODO %?"
|
||||||
"* TODO %?"
|
:prepend t
|
||||||
:prepend t
|
:emptry-lines 1)
|
||||||
:emptry-lines 1)
|
("T" "Task (with context)" entry
|
||||||
("T" "Task (with context)" entry
|
(file+headline "todo.org" "Inbox")
|
||||||
(file+headline "todo.org" "Inbox")
|
"* TODO %?\n%a\n%i"
|
||||||
"* TODO %?\n%a\n%i"
|
:prepend t
|
||||||
:prepend t
|
:emptry-lines 1)
|
||||||
:emptry-lines 1)
|
))
|
||||||
)))
|
|
||||||
|
|
||||||
(when (require 'hydra nil :noerror)
|
(when (require 'hydra nil :noerror)
|
||||||
(defhydra org (global-map "C-c o")
|
(defhydra org (global-map "C-c o")
|
||||||
|
|
Loading…
Reference in a new issue