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