bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#52931: 27.1; image-size sometimes yields a wrong image size in pixel


From: Stefan Kangas
Subject: bug#52931: 27.1; image-size sometimes yields a wrong image size in pixels
Date: Thu, 29 Sep 2022 06:15:01 -0700

Eli Zaretskii <eliz@gnu.org> writes:

> No, it doesn't do that.  It looks up relative file names along
> image-load-path.  The reason is that image files are many times
> displayed on the tool bar and the fringes, which are not specific to a
> buffer, and thus we cannot possibly ensure default-directory is always
> set to the right place when we display those.

The `create-image' docstring says:

    Image file names that are not absolute are searched for in the
    "images" sub-directory of ‘data-directory’ and
    ‘x-bitmap-file-path’ (in that order).

Does this need clarifying?





reply via email to

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