all repos — archive/dotfiles @ e3192dc1da4c77966653bca8d8e9437c90640527

Superseded by nixfiles

Emacs: Setup org-journal again

Let's see if I use it more often now
Alan Pearce alan@alanpearce.eu
Mon, 12 Jun 2017 19:11:27 +0200
commit

e3192dc1da4c77966653bca8d8e9437c90640527

parent

c1685df0853bcdb136ddb3216256937087441b60

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -1782,7 +1782,8 @@ (use-package org-journal   :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 @@ (use-package flycheck-vale   :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