+1999-06-11 Tanaka Akira <akr@jaist.ac.jp>
+
+ * static.el (static-defconst): New function.
+
1999-06-04 MORIOKA Tomohiko <tomo@m17n.org>
* pces-xfc.el (insert-file-contents-literally-treats-binary): New
(` ((, (car h)) (quote (progn (,@ (cdr h))))))))
handlers))))))
+(defmacro static-defconst (symbol initvalue docstring)
+ "`defconst' expression but INITVALUE is evaluated at compile-time.
+
+The variable SYMBOL can be referenced at either compile-time or run-time."
+ (let ((value (eval initvalue)))
+ (eval (` (defconst (, symbol) (quote (, value)) (, docstring))))
+ (` (defconst (, symbol) (quote (, value)) (, docstring)))))
+
;;; @ end
;;;