fix issue when hanging during tangling

This commit is contained in:
Peter Tillemans 2024-10-30 12:40:12 +01:00
parent 356d933236
commit 119a6b0fec
2 changed files with 3 additions and 5 deletions

View file

@ -75,7 +75,8 @@
;; script.
(use-package ob-tangle)
(let ((src (concat user-emacs-directory "init.org"))
(tgt (concat user-emacs-directory "init.el")))
(tgt (concat user-emacs-directory "init.el"))
(enable-local-variables nil)) ;; disable local variables to prevent asking confirmation before frame is available
(when (file-newer-than-file-p src tgt)
(message "tangling init.org")
(delete-file tgt)

View file

@ -825,10 +825,7 @@ Currently already loaded by crafted emacs
(org-agenda-skip-scheduled-if-done t)
(org-agenda-skip-deadline-if-done t)
(org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "WAITING(w)" "SOMEDAY(s)" "PROJ(p)"
"|" "DONE(d)" "CANCELED(c)")
(sequence "[ ](T)" "[-](S)" "[?](W)"
"|" "[X](D)")
(sequence "|" "OKAY(o)" "YES(y)" "NO(n)")))
"|" "DONE(d)" "CANCELED(c)")))
(org-todo-keywords-for-agenda '((sequence "NEXT(n)" "TODO(t)" "WAITING(w)" "SOMEDAY(s)" "PROJ(p)" "|" "DONE(d)" "CANCELED(c)")))
(line-spacing 0.1)
(left-margin-width 2)