|
|
jOHn wONg <thjwong@xxxxxxxxx> writes:
> mac-carbon-version-string is present in Carbon Emacs, and /usr/bin/
> emacs is lacking such a variable. However, I do not know how to make
> use of this to write the .emacs file (evaluating mac-carbon-version-
> string will give me a "void-variable" error in /usr/bin/emacs)
>
> Please suggest! Thanks in advance.
I don't know anything about Carbon Emacs, so I'll have to trust you on
the variable name :) But in lisp there is a function called boundp,
which tells you whether a symbol is bound or not
e.g.
(boundp 'somethingreallysilly)
=> nil
and
(boundp 'emacs-major-version)
=> t
Hope this helps,
Rupert
|
|