blob: a0f42cfd2411f5286bd37ef10597f5e64be7649d (
plain) (
blame)
1
2
3
4
5
6
7
|
#!/bin/sh
file=$(mktemp -t "$USER-"XXXXXXXX.emacs-pager) || exit 127
trap 'rm -f "$file"' EXIT
trap 'exit 255' HUP INT QUIT TERM
cat "$@" >"$file"
emacsclient -e "(wc/open-in-pager \"$file\")"
|