diff --git a/etc/conf.org b/etc/conf.org index c32440d..718061b 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -1742,8 +1742,7 @@ Save all org buffers 1 minute before the hour, then commit whatever I saved. (defun nd/org-commit-repos () "Commit org git repos automatically" - (let* ((journal-path (f-join org-directory "journal")) - (cmd (format "autogit \"%s\" \"%s\"" org-directory journal-path))) + (let* ((cmd (format "autogit \"%s\"" org-directory))) (async-shell-command cmd))) ;; TODO don't hardcode this name @@ -2419,11 +2418,11 @@ Prevent accidental refiling under tasks with done keywords ;; TODO this no work, although does work if var is global ;; redfining the targets works for now -(add-hook 'org-agenda-mode-hook - (lambda () - (when (equal (buffer-name) "*Org Agenda(A)*") - (setq-local org-refile-targets - '(("~/Org/journal/goals.org" :maxlevel . 9)))))) +;; (add-hook 'org-agenda-mode-hook +;; (lambda () +;; (when (equal (buffer-name) "*Org Agenda(A)*") +;; (setq-local org-refile-targets +;; '(("~/Org/journal/goals.org" :maxlevel . 9)))))) ;; (lambda () (when (org-entry-get nil "GOAL") t)))))) ;; (setq org-refile-targets '((nil :maxlevel . 9) ;; ("~/Org/reference/idea.org" :maxlevel . 9)