[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding olivetti to GNU ELPA
From: |
Stephen Leake |
Subject: |
Re: Adding olivetti to GNU ELPA |
Date: |
Wed, 08 May 2019 07:45:04 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) |
"Paul W. Rankin" <address@hidden> writes:
> I *think* what is needed is a way to apply the hooks contingent on
> emacs-major-version <= 24 and <= 25 or 26(?) and <= 27.
you can use the variables emacs-version (a string), emacs-major-version
(an integer), emacs-minor-version (an integer).
Something like:
(cl-ecase emacs-major-version
(23
(add-hook ...)
)
(24
(add-hook ...)
...
)
--
-- Stephe
- Re: Adding olivetti to GNU ELPA, (continued)
- Re: Adding olivetti to GNU ELPA, Paul W. Rankin, 2019/05/20
- Re: Adding olivetti to GNU ELPA, martin rudalics, 2019/05/21
- Re: Adding olivetti to GNU ELPA, Paul W. Rankin, 2019/05/21
- Re: Adding olivetti to GNU ELPA, martin rudalics, 2019/05/21
- Re: Adding olivetti to GNU ELPA, Paul W. Rankin, 2019/05/21
- Re: Adding olivetti to GNU ELPA, martin rudalics, 2019/05/21
- Re: Adding olivetti to GNU ELPA, Paul W. Rankin, 2019/05/21
- Re: Adding olivetti to GNU ELPA, martin rudalics, 2019/05/22
- Re: Adding olivetti to GNU ELPA, Paul W. Rankin, 2019/05/22
Re: Adding olivetti to GNU ELPA, Stefan Monnier, 2019/05/08
Re: Adding olivetti to GNU ELPA,
Stephen Leake <=