doomemacs/modules/term/eshell/autoload
Henrik Lissner 0407621aff
refactor: deprecate EMACS2[89]+, NATIVECOMP, MODULES
To reduce redundancy, remove the maintenance hassle that version
constants would impose later on, and rely on built-in
facilities (featurep) more over global variables or doomisms, these
global constants have been deprecated in favor of Emacs "features":

- EMACS28+   -- replace with (> emacs-major-version 27)
- EMACS29+   -- replace with (> emacs-major-version 28)
- NATIVECOMP -- replace with (featurep 'native-compile)
- MODULES    -- replace with (featurep 'dynamic-modules)

(These constants will be formally removed when v3 is released. The IS-*
constants are likely next, but I haven't decided on their substitutes
yet)

I also decided to follow native-compile's example and provide features
for Emacs' system features (since system-configuration-features' docs
outs itself as a poor method to detect features):

- dynamic-modules
- jansson
- native-compile -- this one already exists, but will instead be removed
  if it's non-functional; i.e. (native-comp-available-p) returns nil.

These are now detectable using featurep, which is fast and built-in.
2022-08-14 20:43:35 +02:00
..
backport.el refactor: deprecate EMACS2[89]+, NATIVECOMP, MODULES 2022-08-14 20:43:35 +02:00
commands.el Bytecompiler bytecompiler, won't you shut up 2019-11-23 01:21:25 -05:00
company.el The byte-compiler ate my baby 2020-02-06 16:55:27 -05:00
eshell.el docs(eshell): fix +eshell/here docstring 2022-01-27 03:32:10 +01:00
evil.el Bump :editor evil 2020-07-17 19:40:19 -04:00
prompts.el Fix #2401: erroneous git ref display in eshell prompt 2020-01-23 01:59:20 -05:00
settings.el Minor refactors & comment revision 2020-11-20 14:10:29 -05:00