summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-07-22 10:26:49 +0200
committerfpi2020-07-22 10:35:45 +0200
commitfef3d648c965670e832888a8aa41b5621437cbe6 (patch)
tree009a278a02201218a71f829033e504aef681132e
parentDisable byte-compilation for org-time-budgets (diff)
Set no-inheritance tags in the proper location
Diffstat (limited to '')
-rw-r--r--emacs-init.org10
1 files changed, 8 insertions, 2 deletions
diff --git a/emacs-init.org b/emacs-init.org
index 8944598..ee1e26b 100644
--- a/emacs-init.org
+++ b/emacs-init.org
@@ -30,10 +30,13 @@ disable ~buffer-auto-save-file-name~ for the files.
(use-package org-crypt
:config (org-crypt-use-before-save-magic)
:custom
- (org-tags-exclude-from-inheritance (quote ("crypt")))
(org-crypt-key "F1EF502F9E81D81381B1679AF973BBEA6994521B"))
#+END_SRC
+#+BEGIN_SRC emacs-lisp :noweb-ref org-custom-no-inheritance-tags :tangle no
+"crypt"
+#+END_SRC
+
I use =.org= configuration files also for my other dotfiles. To ensure
they are tangled upon save I use this function.
#+NAME: tangle-hook
@@ -2542,11 +2545,14 @@ Hansen's]] configs.
(org-clock-into-drawer "LOGBOOK")
(org-clock-in-switch-to-state 'bh/clock-in-to-inprogress)
(org-tags-column 0)
+ (org-tags-exclude-from-inheritance '(
+ <<org-custom-no-inheritance-tags>>
+ ))
<<org-custom>>
:config
(add-hook 'org-mode-hook 'turn-on-org-cdlatex)
(add-to-list 'org-structure-template-alist (cons "f" "figure"))
- (add-to-list 'org-tags-exclude-from-inheritance "MARKED")
+ ;; (add-to-list 'org-tags-exclude-from-inheritance "MARKED")
(defun bh/clock-in-to-inprogress (kw)
"Switch a task from NEXT to INPROGRESS when clocking in.
Skips capture tasks, projects, and subprojects.