[Top][All Lists]

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

bug#24697: 25.1; find-lisp-object-file-name may return wrong locations

From: Dmitry Gutov
Subject: bug#24697: 25.1; find-lisp-object-file-name may return wrong locations
Date: Sun, 18 Jun 2017 22:51:43 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Thunderbird/54.0

On 6/18/17 1:26 AM, Alex wrote:

The first and last of these are fixed by the following diff.


The second is a bit odder. For some reason, find-lisp-object-file-name
searches for an internal function definition using TYPE instead of
OBJECT. I would have expected it to use OBJECT like the rest of the
tests do. I see no reason for the current behaviour.

Thanks. Do you think you can write test cases for these problems? There are some existing ones in test/lisp/help-fns-tests.el.

Either the documentation should be changed to clearly indicate the
current behaviour, or the function should be changed so that OBJECTs for
which (subrp (symbol-function OBJECT)) returns t should return

With a test case, you might also find it easier to make a choice regarding this problem.

reply via email to

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