Initial Commit

This commit is contained in:
2019-01-31 09:41:03 +01:00
commit 80113fd633
25 changed files with 18206 additions and 0 deletions

19
elisp/tangle.el Normal file
View File

@@ -0,0 +1,19 @@
;;; tangle --- Tangle one or more org files
;;; Commentary:
;; This file can be used to tangle one or more files to their output
;; files.
;;; Code:
(require 'org)
(require 'ob-tangle)
(defun literate-dotfiles-tangle (&rest files)
"Tangle FILES or all files in the project."
(when (null files)
(setq files command-line-args-left))
(dolist (file files)
(with-current-buffer (find-file-noselect file)
(org-babel-tangle))))