- #!/bin/zsh
- # my-init.org [[id:../.emacs.d/0456fd85-6bf4-4423-a8c6-389247f1332b][printout-script]]
- [ $# -eq 0 ] && { echo "Usage $0: file1 file2 ... fileN" ; exit 1; }
- for file in $*
- do
- [ -f $file ] \
- && emacs -q -Q --no-init -nw \
- -l "~/.emacs.d/general-print-file.el" \
- --file $file \
- --eval "(ps-print-buffer-with-faces)" \
- --eval "(kill-emacs)" \
- || echo "File does not exist: $file"
- done
- # End my-init.org [[id:../.emacs.d/0456fd85-6bf4-4423-a8c6-389247f1332b][printout-script]]
|