[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/setup 3b35ee7 2/5: Remove cl-lib code
From: |
Stefan Monnier |
Subject: |
[elpa] externals/setup 3b35ee7 2/5: Remove cl-lib code |
Date: |
Tue, 16 Mar 2021 09:45:33 -0400 (EDT) |
branch: externals/setup
commit 3b35ee77a55640a4201419dcd24ce955de7e8b34
Author: Philip K <philipk@posteo.net>
Commit: Philip K <philipk@posteo.net>
Remove cl-lib code
---
setup.el | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/setup.el b/setup.el
index 29da21f..324ea8f 100644
--- a/setup.el
+++ b/setup.el
@@ -73,11 +73,6 @@
;;; Code:
-(eval-when-compile (require 'cl-lib))
-
-
-;;; `setup' macros
-
(defvar setup-macros nil
"Local macro definitions to be bound in `setup' bodies.")
@@ -157,9 +152,8 @@ If not given, it is assumed nothing is evaluated."
;; this is currently that there is no clean way to "locally"
;; modify indentation, without setting `lisp-indent-function',
;; chaining the indentation behaviour everywhere.
- (cl-assert (symbolp name))
- (cl-assert (functionp fn))
- (cl-assert (listp opts))
+ (unless (symbolp name)
+ (error "Macro name must be a symbol"))
;; save metadata
(put name 'setup-documentation (plist-get opts :documentation))
(put name 'setup-signature