diff lisp/very-early-lisp.el @ 371:cc15677e0335 r21-2b1

Import from CVS: tag r21-2b1
author cvs
date Mon, 13 Aug 2007 11:03:08 +0200
parents 8429d81ab209
children 8626e4521993
line wrap: on
line diff
--- a/lisp/very-early-lisp.el	Mon Aug 13 11:01:58 2007 +0200
+++ b/lisp/very-early-lisp.el	Mon Aug 13 11:03:08 2007 +0200
@@ -34,8 +34,8 @@
 
 (define-function 'defalias 'define-function)
 
-;;; Intended replacement for read-time Lisp reader macros #-, #+
-
+;;; Macros from Michael Sperber to replace read-time Lisp reader macros #-, #+
+;;; ####fixme duplicated in make-docfile.el and update-elc.el
 (defmacro assemble-list (&rest components)
   "Assemble a list from COMPONENTS.
 This is a poor man's backquote:
@@ -57,17 +57,17 @@
   "Insert STUFF as a list element if FEATURE is a loaded feature.
 This is intended for use as a component of ASSEMBLE-LIST."
   (list 'splice
-	(list 'if (list 'featurep (list 'quote feature))
-	      (list 'list stuff)
-	      '())))
+	(if (featurep feature)
+	    (list 'list stuff)
+	  '())))
 
 (defmacro unless-feature (feature stuff)
   "Insert STUFF as a list element if FEATURE is NOT a loaded feature.
 This is intended for use as a component of ASSEMBLE-LIST."
   (list 'splice
-	(list 'if (list 'featurep (list 'quote feature))
-	      '()
-	      (list 'list stuff))))
+	(if (featurep feature)
+	    '()
+	  (list 'list stuff))))
 
 (provide 'very-early-lisp)