X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fvery-early-lisp.el;h=24ec4e36e7c3de89f06ae495aabacb929305eca8;hb=02f6299e149f2fbedd2b39392e115d5122b8577f;hp=2d5a7fa7ff20c1b301f80bf097902308c99680c1;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git.1 diff --git a/lisp/very-early-lisp.el b/lisp/very-early-lisp.el index 2d5a7fa..24ec4e3 100644 --- a/lisp/very-early-lisp.el +++ b/lisp/very-early-lisp.el @@ -2,7 +2,7 @@ ;; Copyright (C) 1998 by Free Software Foundation, Inc. -;; Author: SL Baur +;; Author: SL Baur ;; Michael Sperber [Mr. Preprocessor] ;; Keywords: internal, dumped @@ -32,10 +32,8 @@ ;;; Code: -(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 +55,17 @@ Otherwise, the component becomes an element of the list." "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)