[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is `emacs' a feature?
From: |
Stefan Monnier |
Subject: |
Re: Why is `emacs' a feature? |
Date: |
Sun, 18 Oct 2020 09:40:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Why is (featurep 'emacs) true?
Historically, `emacs` was added as a feature as a consequence of
`xemacs` being a feature. IIRC it was felt that you shouldn't have
to say (not (featurep 'xemacs)) to test "is this the true Emacs?".
As for why `xemacs` was added as a feature, I don't know.
It was probably to provide a cleaner alternative to
(string-match "..XEmacs.." emacs-version).
Stefan