diff lisp/very-early-lisp.el @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 8626e4521993
children 697ef44129c6
line wrap: on
line diff
--- a/lisp/very-early-lisp.el	Mon Aug 13 11:12:06 2007 +0200
+++ b/lisp/very-early-lisp.el	Mon Aug 13 11:13:30 2007 +0200
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 1998 by Free Software Foundation, Inc.
 
-;; Author: SL Baur <steve@altair.xemacs.org>
+;; Author: SL Baur <steve@xemacs.org>
 ;;  Michael Sperber [Mr. Preprocessor] <sperber@Informatik.Uni-Tuebingen.De>
 ;; Keywords: internal, dumped
 
@@ -32,8 +32,8 @@
 
 ;;; Code:
 
-;;; Macros from Michael Sperber to replace read-time Lisp reader macros #-, #+
-;;; ####fixme duplicated in make-docfile.el and update-elc.el
+;;; Intended replacement for read-time Lisp reader macros #-, #+
+
 (defmacro assemble-list (&rest components)
   "Assemble a list from COMPONENTS.
 This is a poor man's backquote:
@@ -55,17 +55,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
-	(if (featurep feature)
-	    (list 'list stuff)
-	  '())))
+	(list 'if (list 'featurep (list 'quote 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
-	(if (featurep feature)
-	    '()
-	  (list 'list stuff))))
+	(list 'if (list 'featurep (list 'quote feature))
+	      '()
+	      (list 'list stuff))))
 
 (provide 'very-early-lisp)