summary refs log tree commit diff
path: root/init.org
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-08-01 16:54:07 -0700
committerFranck Cuny <franck@fcuny.net>2023-08-01 16:54:07 -0700
commit7107f3d5ce2928a28a94ca11cf488c5306f129fe (patch)
tree3ba277acedb6746a85cf9a4bfe38e19f68f070e4 /init.org
parentbind some keys for eglot (diff)
downloademacs.d-7107f3d5ce2928a28a94ca11cf488c5306f129fe.tar.gz
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
Diffstat (limited to '')
-rw-r--r--init.org8
1 files 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.