| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Support would requires a brittle, untested require advice
- 24.3 is untested on CI
- Packages which use Compat all require Emacs 24.4 or newer
|
|
|
|
This reverts commit 9842d683d8dc3ae31ab530d6f4e42dabe47fb25a.
|
|
|
|
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.
|
|
|
|
|
|
For Emacs 24.3, `after-load-alist` includes forms (for `eval`) instead
of functions like 24.4 and above. Also when subr-x, return the feature
as symbol.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
This is even simpler and less risky than copying `features' as it
alleviates the risk of confusing the loading procedure.
|
|
Thanks to Jonas for reporting the discrepancy in this issue:
https://todo.sr.ht/~pkal/compat/3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|