Re: Can emacs and xemacs coexist?
- To: debian-user@lists.debian.org
- Subject: Re: Can emacs and xemacs coexist?
- From: naddy@mips.rhein-neckar.de (Christian Weisgerber)
- Date: 18 Apr 1998 14:12:14 +0200
- Message-id: <6ha5au$boj$1@mips.rhein-neckar.de>
- References: <01bd6a18$281b9ea0$LocalHost@default> <m0yQLA4-000qGzC@rakefet>
In article <m0yQLA4-000qGzC@rakefet>, shaul <beitamos@inter.net.il>
wrote:
> By the way, how can I tell the aliases in my .bashrc to work only when I am
> using X (I don't need xemacs -geometry 87x28 when I am not using X) ?
Use a function such as
xemacs() {
if [ -n "$DISPLAY" ]; then
command xemacs -geometry 87x28 "$@"
else
command xemacs "$@"
fi
}
--
Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de
See another pointless homepage at <URL:http://home.pages.de/~naddy/>.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: