Don't use `defun-maybe'.
authortomo <tomo>
Thu, 7 Dec 2000 05:52:08 +0000 (05:52 +0000)
committertomo <tomo>
Thu, 7 Dec 2000 05:52:08 +0000 (05:52 +0000)
sha1.el

diff --git a/sha1.el b/sha1.el
index a7265b6..24a3af5 100644 (file)
--- a/sha1.el
+++ b/sha1.el
@@ -43,7 +43,8 @@
 (require 'hex-util)
 
 (eval-when-compile
-  (defun-maybe sha1-string (a)))
+  (or (fboundp 'sha1-string)
+      (defun sha1-string (a))))
 
 (defvar sha1-dl-module
   (if (and (fboundp 'sha1-string)