From xemacs-m  Tue Apr  1 20:30:44 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id UAA01876
	for <xemacs-beta@xemacs.org>; Tue, 1 Apr 1997 20:30:42 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id SAA19506;
	Tue, 1 Apr 1997 18:43:19 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: Build success: 20.1b10 w/o patches, Linux 2.0.29
References: <hhu3lq3oc9.fsf@arioch.oche.de> <m2u3lqicyg.fsf@altair.xemacs.org> <hh4tdqb35t.fsf@arioch.oche.de>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Carsten Leonhardt's message of 02 Apr 1997 03:54:06 +0200
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 01 Apr 1997 18:43:15 -0800
Message-ID: <m267y6qh4s.fsf@altair.xemacs.org>
Lines: 57
X-Mailer: Gnus v5.4.39/XEmacs 20.1(beta11)

Carsten Leonhardt writes:

> PS: I noted the following at the (very) beginning of canna.el:

> (or (fboundp 'overlayp)
>     (defalias 'overlayp 'extentp)
>     )

> ;; added by MORIOKA Tomohiko <morioka@jaist.ac.jp>, 1996/6/18
> (defvar running-xemacs (string-match "XEmacs" emacs-version))

> (if running-xemacs (require 'overlay))


> Shouldn't the (require 'overlay) be placed before the (fboundp 'overlayp)?

Yup.  Perhaps that is the cause of your troubles since you're bombing
around an overlayp.  The defalias isn't required.

Index: lisp/mule/canna.el
===================================================================
RCS file: /usr/local/xemacs/xemacs-20.0/lisp/mule/canna.el,v
retrieving revision 1.3
diff -u -r1.3 canna.el
--- canna.el	1997/03/28 02:28:48	1.3
+++ canna.el	1997/04/02 02:25:59
@@ -29,6 +29,11 @@
 
 ;; #### This is far from working in XEmacs.
 
+;; added by MORIOKA Tomohiko <morioka@jaist.ac.jp>, 1996/6/18
+(defvar running-xemacs (string-match "XEmacs" emacs-version))
+
+(if running-xemacs (require 'overlay))
+
 ;; added by MORIOKA Tomohiko <morioka@jaist.ac.jp>, 1996/6/7
 (or (fboundp 'minibuffer-prompt-width)
     (defun minibuffer-prompt-width ()
@@ -42,14 +47,6 @@
       (char-after (1- (point)))
       )
     )
-(or (fboundp 'overlayp)
-    (defalias 'overlayp 'extentp)
-    )
-
-;; added by MORIOKA Tomohiko <morioka@jaist.ac.jp>, 1996/6/18
-(defvar running-xemacs (string-match "XEmacs" emacs-version))
-
-(if running-xemacs (require 'overlay))
 
 (if running-xemacs
     (progn

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

