[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can emacs and xemacs coexist?



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: