Update CLAUDE.md: simplify tangle command to use emacsclient

This commit is contained in:
2026-03-09 09:59:58 +01:00
parent fe12a4404b
commit 1e0da1267f

View File

@@ -18,14 +18,9 @@ Each `.org` file contains source code blocks like:
The `:tangle <path>` header arg specifies the destination file. When tangled from Emacs, the code blocks are extracted and written to those paths.
**To tangle a single file** (from within Emacs):
```
M-x org-babel-tangle (or C-c C-v t)
```
**To tangle all files** (from the command line):
**To tangle a single file:**
```bash
emacs --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "file.org")'
emacsclient -e '(org-babel-tangle-file "/home/thomas/.config/literate-dotfiles/file.org")'
```
## Key Conventions