[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: [MD:7074] Re: r3992 - trunk/src



From: MIYOSHI Masanori <miyoshi@xxxxxxxxxxx> さん曰く
Subject: Re: [MD:7074] Re: r3992 - trunk/src
Message-ID: <uirubblf9.wl%miyoshi@xxxxxxxxxxx>
Date: Tue, 29 Nov 2005 23:03:54 +0900

> > > -	XSETFASTINT (p, max (Fline_beginning_position (Qnil), PT - 1));
> > > +	XSETFASTINT (p, max (XINT (Fline_beginning_position (Qnil), PT - 1));
> 
> > あれ?
> > XSETFASTINT (p, max (XINT (Fline_beginning_position (Qnil)), PT - 1));
                                                              ~

> > でよい?
> 
> XINT (Fline_beginning_position (Qnil)) と  PT - 1 は int
> max (XINT (Fline_beginning_position (Qnil)), PT - 1) も int
> 
> これを Lisp_Object の p に束縛するのだから XSETFASTINT () で良いと
> 思うのですが...

いや、もっと簡単で、() の対応があっていなくてコンパイルできない
ぞー、という話。もしかして、cygwin だと OK なの? 上記の ~ ね。

-- 
白井秀行 (mailto:shirai@xxxxxxxxxxx)