aboutsummaryrefslogtreecommitdiffhomepage
path: root/tangle
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-04-11 01:04:08 +0000
committerRalph Amissah <ralph.amissah@gmail.com>2026-04-11 01:18:49 +0000
commit0abf018794e7d32e5b9f670b9458033aa38c04e1 (patch)
tree323268c1c195a7a24032a31b1934bff1a335f2f4 /tangle
parentflake.nix dmd build fix overlay: revert to GCC14 (diff)
nix keeping: nix-shell, nix-build derivation.nix
Diffstat (limited to 'tangle')
-rwxr-xr-xtangle25
1 files changed, 0 insertions, 25 deletions
diff --git a/tangle b/tangle
deleted file mode 100755
index ff290c2..0000000
--- a/tangle
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-# -*- mode: shell-script -*-
-# tangle files with org-mode
-DIR=`pwd`
-ORGFILES=""
-EMACSLISP=/usr/share/emacs/site-lisp
-ORG_VER_AVAILABLE=$(shell echo `ls -d ~/.emacs.d/elpa/org-???????? | cut -d '-' -f2`)
-EMACSLISP_ORG=~/.emacs.d/elpa/org-$($(shell echo $(ORG_VER_AVAILABLE)))
-ORG_CONTRIB_VER_AVAILABLE=$(shell echo `ls -d ~/.emacs.d/elpa/org-plus-???????? | cut -d '-' -f2`)
-EMACSLISP_ORG_CONTRIB=~/.emacs.d/elpa/org-plus-contrib-$($(shell echo $(ORG_CONTRIB_VER_AVAILABLE)))
-# wrap each argument in the code required to call tangle on it
-for i in $@; do
- ORGFILES="$ORGFILES \"$i\""
-done
-emacs --batch -Q -q \
---eval "(progn
-(add-to-list 'load-path (expand-file-name \"$EMACSLISP\"))
-(add-to-list 'load-path (expand-file-name \"$EMACSLISP_ORG\" t))
-(add-to-list 'load-path (expand-file-name \"$EMACSLISP_ORG_CONTRIB\" t))
-(require 'org)(require 'ob)(require 'ob-tangle)
-(mapc (lambda (file)
- (find-file (expand-file-name file \"$DIR\"))
- (setq-local org-src-preserve-indentation t)
- (org-babel-tangle)
- (kill-buffer)) '($ORGFILES)))" 2>&1 #|grep tangled