Remove unused let

This commit is contained in:
Evie Litherland-Smith 2023-10-28 10:41:27 +01:00
parent 53700a9793
commit bea6ff65bc

View file

@ -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")