diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2023-01-04 12:49:34 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2023-01-04 12:49:34 +0100 |
| commit | 8ebf7984ce3b29ba47ff4b46ea31f4c38bbf78b5 (patch) | |
| tree | 0a7d49389c8d9a369e8892c2caae95044b1f9358 /compat-macs.el | |
| parent | de7346396aab592610e05990aab154a02b73f46d (diff) | |
Revert "Add compat-feature macro"
This reverts commit de7346396aab592610e05990aab154a02b73f46d.
Diffstat (limited to 'compat-macs.el')
| -rw-r--r-- | compat-macs.el | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compat-macs.el b/compat-macs.el index 4e3e549..c06fc00 100644 --- a/compat-macs.el +++ b/compat-macs.el @@ -29,13 +29,6 @@ (setq compat--current-version version) nil) -(defmacro compat-feature (feature &rest body) - (declare (indent 1)) - (when feature - (unless (require feature nil t) - (setq feature nil))) - (compat--with-feature feature (macroexp-progn body))) - (defun compat--with-feature (feature body) "Protect BODY with `eval-after-load' if FEATURE is non-nil." (declare (indent 1)) |
