don't wait in emacs_pager

This commit is contained in:
Ivan Malison 2015-08-15 23:20:10 -07:00
parent de97917b9e
commit 851ac482b8

View File

@ -123,7 +123,9 @@ function emacs_pager {
TMP="$(mktemp -t emacs_pager.XXXXX --suffix=.ansi_color)"
echo $TMP
cat > "$TMP"
emacs_editor "$TMP" "$@"
# -n may seem strange here, but it actually makes sense. There is
# -no need to wait since the buffer is inside of emacs now
emacs_editor "$TMP" -n "$@"
rm "$TMP"
}