From 7107f3d5ce2928a28a94ca11cf488c5306f129fe Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 1 Aug 2023 16:54:07 -0700 Subject: don't set the mode when tangling the file The option `tangle-mode` is only added in a later version of `org-mode`. Change-Id: Icbf529c2136faa1a41c3b3370a1f5015e51fddb6 --- init.org | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index f687372..be0cca1 100644 --- a/init.org +++ b/init.org @@ -1,6 +1,6 @@ #+TITLE: my Emacs configuration #+AUTHOR: Franck Cuny -#+PROPERTY: header-args :tangle-mode o444 :results silent :tangle ~/.config/emacs/init.el +#+PROPERTY: header-args :results silent :tangle ~/.config/emacs/init.el #+STARTUP: overview indent #+AUTO_TANGLE: t @@ -8,10 +8,14 @@ To use this file, run =org-tangle= (or =C-c C-v C-t=). To exclude specific source blocks from being tangled add =:tangle no= to the header. +* TODO set the mode when tangling the files +When version 9.7 of org-mode is released, I need to add the following property to ~header-args~: +- ~tangle-mode o444~ (see [[https://github.com/emacs-straight/org-mode/blob/f03b839530d86269bd23baef2965a316a4172895/etc/ORG-NEWS#L1307][this]] for more details) + * Startup ** early initialization :PROPERTIES: -:header-args: :tangle-mode o444 :results silent :tangle ~/.config/emacs/early-init.el +:header-args: :results silent :tangle ~/.config/emacs/early-init.el :END: Using an =early-init.el= file can speedup loading emacs. This is only available after emacs version 27. -- cgit 1.4.1