Add org-config-bootstrap.el tangle target for container builds

Adds :tangle org-config-bootstrap.el to blocks defining minimal
utilities needed by org-config.el for use in org-agenda-api containers.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-14 12:42:32 -08:00
parent 6b54747f9a
commit ec5411df87

View File

@@ -324,7 +324,7 @@ I want to control my own font for emacs
* Functions * Functions
** Join Paths ** Join Paths
Works in the same way as os.path.join in python Works in the same way as os.path.join in python
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp :tangle org-config-bootstrap.el
(defun imalison:join-paths (root &rest dirs) (defun imalison:join-paths (root &rest dirs)
(let ((result root)) (let ((result root))
(cl-loop for dir in dirs do (cl-loop for dir in dirs do
@@ -332,10 +332,15 @@ Works in the same way as os.path.join in python
result)) result))
#+END_SRC #+END_SRC
** Variables ** Variables
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp :tangle org-config-bootstrap.el
(defvar imalison:projects-directory (defvar imalison:projects-directory
(imalison:join-paths (substitute-in-file-name "$HOME") "Projects")) (imalison:join-paths (substitute-in-file-name "$HOME") "Projects"))
;; For org-config-bootstrap: frame-mode not needed in server/container context
(defvar imalison:use-frame-mode nil)
#+END_SRC
#+BEGIN_SRC emacs-lisp
(defvar imalison:gpg-key) (defvar imalison:gpg-key)
#+END_SRC #+END_SRC
** Required Packages ** Required Packages