aboutsummaryrefslogtreecommitdiff
path: root/compat-28.el
AgeCommit message (Collapse)Author
2023-01-15compat-macs: Simplification, remove :min-version and :max-versionDaniel Mendler
2023-01-15compat-28: Add subr-native-elisp-pDaniel Mendler
2023-01-15compat-28: Add test for count-windowsDaniel Mendler
2023-01-14compat-28: Add macroexp-warn-and-returnDaniel Mendler
2023-01-14compat-28: Use original definition of decoded-time-periodDaniel Mendler
2023-01-12Remove unnecessary :feature arguments from compat-defunsDaniel Mendler
2023-01-12compat-29: Add buttonize and buttonize-regionDaniel Mendler
2023-01-12compat-28: Add test for macroexp-file-nameDaniel Mendler
2023-01-12compat-28: Add test for dletDaniel Mendler
2023-01-09alist-get: Minor cleanupDaniel Mendler
2023-01-09Remove unnecessary declare-functionDaniel Mendler
2023-01-09compat-28: Add make-separator-lineDaniel Mendler
2023-01-07compat-28: Fix and test with-existing-directoryDaniel Mendler
2023-01-07compat-28: Drop make-directory-autoloadsDaniel Mendler
This command has been added in 28.1 and deprecated in 29.1. It was untested in compat.el all along.
2023-01-07compat-tests: Add test for with-environment-variablesDaniel Mendler
2023-01-07Explicit functions: Mention reason of existence in the docstringDaniel Mendler
Replicating the docstring of the original function is not needed.
2023-01-06Move json functions to compat.elDaniel Mendler
These functions are defined conditionally. Therefore they must not be part of the versioned files. Conditionally-defined functions are a special complicated edge case, which need more testing. Therefore the json functions are currently marked as UNTESTED.
2023-01-06Only require Compat libraries which are neededDaniel Mendler
2023-01-05Fix and test replace-regexp/string-in-regionDaniel Mendler
2023-01-05Use ashDaniel Mendler
2023-01-05Remove :versionDaniel Mendler
2023-01-05Add string-splitDaniel Mendler
2023-01-05Remove unnecessary declare-functionsDaniel Mendler
2023-01-05Fix file-name-concatDaniel Mendler
2023-01-05Use string-remove-prefixDaniel Mendler
2023-01-04Test buffer-local-boundpDaniel Mendler
2023-01-04Mark a few functions as testedDaniel Mendler
2023-01-04Add testsDaniel Mendler
2023-01-04Test setq-localDaniel Mendler
2023-01-04Add gensym testDaniel Mendler
2023-01-04Mark tested functionsDaniel Mendler
2023-01-04RenameDaniel Mendler
2023-01-04Add UNTESTED labels behind compat-defuns for greppabilityDaniel Mendler
2023-01-04Always require subr-x at compile timeDaniel Mendler
2023-01-04Require features at compile timeDaniel Mendler
2023-01-03Remove obsolete commentaryDaniel Mendler
2023-01-03compat-macs: Rename :prefix to :explicitDaniel Mendler
2023-01-03Get rid of compat--internal-directory-name-pDaniel Mendler
2023-01-03Disallow :realname to equal compat--<name>Daniel Mendler
I plan to use the naming convention compat--<name> for the compat-funcall and compat-function macros in the future. Intentionally use ugly compat--internal-* names. I hope we can remove some of those.
2023-01-03Chained requiring, remove unnecessary declare-functionsDaniel Mendler
2023-01-03Remove :note supportDaniel Mendler
2023-01-03Avoid duplicating the package information in the headerDaniel Mendler
2023-01-03Revert "Declare version only at compile time"Daniel Mendler
This reverts commit 9842d683d8dc3ae31ab530d6f4e42dabe47fb25a.
2023-01-03Declare version only at compile timeDaniel Mendler
2023-01-03Always load prefixed definitionsDaniel Mendler
We will move away from prefixed definitions later on and introduce `compat-function' and `compat-funcall' macros. These macros make it possible to call compatibility functions with different calling conventions. The prefixed definitions will be deprecated. The problem with the prefixed definitions is two-fold: 1. They pollute the namespace and the API surface of Compat will become larger and larger with every version. 2. Since Compat is not part of Emacs itself, the prefixed definitions cannot be used by :core packages. By adding the `compat-funcall' and `compat-function' macro to the core itself, which is a minimal addition, using compatibility function with modified calling convention becomes possible.
2023-01-03Update copyright yearsPhilip Kaludercic
2022-08-29Always load compat-macs.el while compilingPhilip Kaludercic
This is another attempt at solving https://todo.sr.ht/~pkal/compat/7, as had been done with 66b83295 before. The difference is that the previous attempt could still avoid re-loading compat-macs.el if 'compat-macs' had previously been loaded, and hence also be missing any new macros that require a manual, full recompilation.
2022-08-29Always load compat-macsPhilip Kaludercic
This is a temporary workaround that might help avoid issues like https://todo.sr.ht/~pkal/compat/7 and perhaps https://todo.sr.ht/~pkal/compat/5 too. This will be reverted before the next release.
2022-08-10Explicitly define versions instead of inferring them from file namesPhilip Kaludercic
This is a further simplification that avoids difficult edge cases. Among other things this also satisfied Flymake, that copies and renames files to a temporary directory, breaking the version inference process.
2022-08-09Replace rx expression with its macroexpansionPhilip Kaludercic
That way we avoid accidentally autoloading rx.