From 14ca5a138ca01a6a3a2d47b2c0ea40af0168f00c Mon Sep 17 00:00:00 2001 From: kaoru Date: Wed, 20 Feb 2008 12:51:45 +0000 Subject: [PATCH] * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe' instead of `defun-maybe' --- elmo/ChangeLog | 3 +++ elmo/elmo-vars.el | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 25fa2c0..db817e2 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,5 +1,8 @@ 2008-02-20 TAKAHASHI Kaoru + * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe' + instead of `defun-maybe' + * elmo-util.el: Add (eval-when-compile (require 'static)). 2008-02-19 TAKAHASHI Kaoru diff --git a/elmo/elmo-vars.el b/elmo/elmo-vars.el index 4815f07..badbce5 100644 --- a/elmo/elmo-vars.el +++ b/elmo/elmo-vars.el @@ -32,8 +32,8 @@ ;; silence byte compiler (eval-when-compile - (defun-maybe dynamic-link (a)) - (defun-maybe dynamic-call (a b))) + (defalias-maybe 'dynamic-link 'ignore) + (defalias-maybe 'dynamic-call 'ignore)) ;; bind colon keywords for old Emacsen. (dont-compile -- 1.7.10.4