Update CLAUDE.md: simplify tangle command to use emacsclient
This commit is contained in:
@@ -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.
|
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):
|
**To tangle a single file:**
|
||||||
```
|
|
||||||
M-x org-babel-tangle (or C-c C-v t)
|
|
||||||
```
|
|
||||||
|
|
||||||
**To tangle all files** (from the command line):
|
|
||||||
```bash
|
```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
|
## Key Conventions
|
||||||
|
|||||||
Reference in New Issue
Block a user