[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .emacs handling multiple versions
From: |
Stefan Monnier |
Subject: |
Re: .emacs handling multiple versions |
Date: |
Wed, 04 Apr 2007 11:42:20 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) |
> I'm running Carbon Emacs on OS X as my main Emacs, thus my .emacs file has
> a bunch of carbon only hooks in it. However, sometimes I'll use the
> terminal emacs (shipped with OS X) and the .emacs file causes problems
> calling things that the terminal version can't handle.
You can also use CarbonEmacs in a terminal, so you'll get the exact same
version in both cases.
> I'd like to keep the ability to use both... any suggestions for having
> the .emacs file know which version is calling it and respond accordingly?
Typically, you'll want to use things like (fboundp 'foo) to check whether
the function `foo' exists, before calling it.
Tell us more and we'll tell you more.
Stefan