summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-06-12 19:11:27 +0200
committerAlan Pearce2017-06-12 19:11:27 +0200
commite3192dc1da4c77966653bca8d8e9437c90640527 (patch)
tree1e0ef0c58a467fd5e8f1b84a40758344d8b9af54 /emacs
parentc1685df0853bcdb136ddb3216256937087441b60 (diff)
downloadnixfiles-e3192dc1da4c77966653bca8d8e9437c90640527.tar.lz
nixfiles-e3192dc1da4c77966653bca8d8e9437c90640527.tar.zst
nixfiles-e3192dc1da4c77966653bca8d8e9437c90640527.zip
Emacs: Setup org-journal again
Let's see if I use it more often now
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index f0812896..49ce47f1 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1782,7 +1782,8 @@ I can use this to keep a journal.  I should use it.
   :bind ("s-j" . org-journal-new-entry)
   :defer 20
   :config (progn
-            (setq org-journal-date-format "%A, %d %B %Y")
+            (setq org-journal-date-format "%A, %d %B %Y"
+                  org-journal-dir "~/Sync/Default/Documents/journal")
             (defun org-journal-display-entry-yesterday ()
               "Show org-journal entry for yesterday"
               (interactive)
@@ -2390,6 +2391,7 @@ Sometimes I might want to show off my emacs usage.
   :if (executable-find "vale")
   :config (progn
             (add-to-list 'flycheck-vale-modes 'org-mode)
+            (add-to-list 'flycheck-vale-modes 'org-journal-mode)
             (flycheck-vale-setup)))
 #+END_SRC