#!/bin/bash
# Run emacs as an info reader

bg=
nw=-nw
if [[ $DISPLAY ]]; then
    bg="&"
    nw=
fi

eval emacs -q $nw --eval '"(tool-bar-mode 0)"' --eval '"(info ${1:+\"$1\"} )"' --name "einfo" $bg

