emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 37940b3: min and max now return one of their arguments


From: Paul Eggert
Subject: Re: master 37940b3: min and max now return one of their arguments
Date: Tue, 7 Mar 2017 21:27:35 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

Glenn Morris wrote:
It seems that this change causes a bunch of tests to fail with

(wrong-type-argument numberp #<marker in no buffer>)

Sorry about that. Apparently 'min' and 'max' converted any marker result to an integer. I changed them back to do that with the attached patch. This behavior is undocumented; I don't know whether it was intended, although it looks like some code relies on it now.

Attachment: 0001-min-and-max-should-not-return-markers.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]