Browse Source

Started writing a script to make buffer layers

Samuel W. Flint 8 years ago
parent
commit
17f8e286ff
1 changed files with 14 additions and 0 deletions
  1. 14 0
      make-layer

+ 14 - 0
make-layer

@@ -0,0 +1,14 @@
+#!/bin/zsh -f
+
+NAME=$1
+shift
+DIR=`pwd`
+
+echo ";; -*- emacs-lisp -*-"
+echo
+echo "(define-buffer-layer ${NAME}"
+echo ":files (\"${DIR}\""
+for file in $*; do
+    echo "\"${DIR}/${file}\""
+done
+echo "))"