make-layer 200 B

1234567891011121314
  1. #!/bin/zsh -f
  2. NAME=$1
  3. shift
  4. DIR=`pwd`
  5. echo ";; -*- emacs-lisp -*-"
  6. echo
  7. echo "(define-buffer-layer ${NAME}"
  8. echo ":files (\"${DIR}\""
  9. for file in $*; do
  10. echo "\"${DIR}/${file}\""
  11. done
  12. echo "))"