aboutsummaryrefslogtreecommitdiff
path: root/compat-macs.el
diff options
context:
space:
mode:
Diffstat (limited to 'compat-macs.el')
-rw-r--r--compat-macs.el7
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))