[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Determine what version and make settings accordingly
From: |
H. Dieter Wilhelm |
Subject: |
Re: Determine what version and make settings accordingly |
Date: |
Thu, 06 Nov 2014 15:19:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Harry Putnam <reader@newsguy.com> writes:
> Probably kind of basic... but not to me.
>
> I'm running emacs24 (installed from debian pkg system) and now want to
> also run emacs-25... (installed from bzr repo).
(if (>= emacs-major-version 25) ; this is the test, the
"if"
(message "You are running Emacs 25! Lucky you.") ; This is the "then"
(ding) ; From here on is the
"else"
(message "Time to upgrade, don't you think?"))
emacs-version
emacs-minor-version
Is that what you are looking for?
Dieter
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany