From 119a6b0fec8f570fa423790f61143917c4288f33 Mon Sep 17 00:00:00 2001 From: Peter Tillemans Date: Wed, 30 Oct 2024 12:40:12 +0100 Subject: [PATCH] fix issue when hanging during tangling --- early-init.el | 3 ++- init.org | 5 +---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/early-init.el b/early-init.el index fd7639f..7ef45db 100644 --- a/early-init.el +++ b/early-init.el @@ -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) diff --git a/init.org b/init.org index 99c32e3..f0157fd 100644 --- a/init.org +++ b/init.org @@ -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)