home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 193258dbeb421d3359119d33da507a0006fc1453
parent 8a4c382ba7fa91f98d11867c57c8ef5b668a32db
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 24 Aug 2022 15:36:19 +0200

tools/emacs: fix org configuration on 29

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-org.el | 21+++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/tools/emacs/config/config-org.el b/tools/emacs/config/config-org.el @@ -4,6 +4,7 @@ ;;; Code: (use-package s) +(use-package dash) (defconst org-directory "~/desktop/org/" "org-mode directory, where most of the org-mode file lives") @@ -233,8 +234,8 @@ :bind (("C-c o c" . org-capture))) -(use-package org-capture-pop-frame - :after org) +;; (use-package org-capture-pop-frame +;; :after org) (use-package org-protocol :after org) (use-package org-clock @@ -443,7 +444,7 @@ and thus keeping the configuration source up-to-date" (directory-files-recursively src-home-dir "\.org$")))))) (use-package org-journal :commands (org-journal-new-entry org-capture) - :after (org-capture) + :after org :bind (("C-c n j" . org-journal-new-entry) ("C-c o j" . org-journal-new-entry)) @@ -461,15 +462,15 @@ This can be used for an org-capture template to create an entry in the journal." (goto-char (point-min)) (org-show-entry)) (add-to-list 'org-capture-templates - `("j" "Journal")) + `("j" "Journal")) (add-to-list 'org-capture-templates - `("jj" "Journal entry" entry (function org-journal-find-location) - "** %(format-time-string org-journal-time-format)%^{Title}\n%i%?" - :empty-lines 1)) + `("jj" "Journal entry" entry (function org-journal-find-location) + "** %(format-time-string org-journal-time-format)%^{Title}\n%i%?" + :empty-lines 1)) (add-to-list 'org-capture-templates - `("je" "Weekly review" entry (function org-journal-find-location) - (file ,(expand-file-name "etc/orgmode/weekly.org" user-emacs-directory)) - :empty-lines 1 :clock-in t :clock-resume t)) + `("je" "Weekly review" entry (function org-journal-find-location) + (file ,(expand-file-name "etc/orgmode/weekly.org" user-emacs-directory)) + :empty-lines 1 :clock-in t :clock-resume t)) :custom (org-journal-date-prefix "* ") (org-journal-file-header "#+TITLE: %Y-v%m Journal\n\n")