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

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

bug#6133: Bug: create-image on console emacs


From: Lars Ingebrigtsen
Subject: bug#6133: Bug: create-image on console emacs
Date: Thu, 26 Sep 2019 20:06:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

npostavs@users.sourceforge.net writes:

>> Below is a copy of a post* to the help-gnu-emacs mailing list about a
>> strange behaviour I found in GNU Emacs 23.1.1. It was suggested on the
>> mailing list that I submit a bug report, so here it is :-)
>>
>> FWIW, this occurs on the Cygwin build(s)** specifically, but I suspect
>> on other builds as well. I don't know how else I can help, but please
>> feel free to contact me on this address if I can.
>>
>> *  http://lists.gnu.org/archive/html/help-gnu-emacs/2010-05/msg00632.html
>
> As explained in that thread, the problem is image-size, not
> create-image.
>
>     (image-size 
>      (create-image
>       (expand-file-name
>        "etc/images/icons/hicolor/128x128/apps/emacs.png"
>        source-directory)))

I don't think this is a bug, though?  You have to check for
display-graphic-p before doing image-size (and some other image-related
things).

So I'm closing this bug report; if anybody disagrees, feel free to
reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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