XEmacs and APEL
Katsumi Yamaoka
yamaoka @ jpl.org
2002年 7月 29日 (月) 19:54:03 JST
>>>>> In [apel-ja : No.00724]
>>>>> Katsumi Yamaoka <yamaoka @ jpl.org> wrote:
山岡>> ということは def*-maybe-enable-compile-time-hack のデフォルト値
山岡>> は
[...]
小林さん> 3. 常にデフォルトを nil にする.
APEL に yamaoka-maybe という枝を作って、以下のものを入れてみまし
た。ここで current-load-list をいじらなければ mule-ja で話題になっ
ている問題は起きなくなるだろうと思ってせっせと変更したのですが、
見当違いだったような...。(?) たぶん動作検証は大変です。^^;;
2002-07-29 Katsumi Yamaoka <yamaoka @ jpl.org>
* pym.el (defun-maybe): Use `defalias' instead of `defun'; don't
handle `current-load-list'; always return a function symbol.
(defmacro-maybe): Set a symbol to a macro definition itself; don't
handle `current-load-list'; always return a macro symbol.
(defsubst-maybe): Set a symbol to a function definition itself;
don't handle `current-load-list'; always return a function symbol.
(defalias-maybe): Always return a new definition.
(defvar-maybe): Always return a variable symbol.
(defconst-maybe): Ditto.
(defun-maybe-cond): Use `defalias' instead of `defun'; don't
handle `current-load-list'; always return a function symbol.
(defmacro-maybe-cond): Set a symbol to a macro definition itself;
don't handle `current-load-list'; always return a macro symbol.
(defsubst-maybe-cond): Set a symbol to a function definition
itself; don't handle `current-load-list'; always return a function
symbol.
(defun-when-void): Always return a function symbol.
(defmacro-when-void): New macro.
(defsubst-when-void): New macro.
(defalias-when-void): New macro.
(defvar-when-void): New macro.
(defconst-maybe): New macro.
--
Katsumi Yamaoka <yamaoka @ jpl.org>
More information about the APEL-ja
mailing list