[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Visiting an image file fails on tty
From: |
Eli Zaretskii |
Subject: |
Re: Visiting an image file fails on tty |
Date: |
Wed, 30 Aug 2006 14:33:49 +0300 |
> From: Richard Stallman <address@hidden>
> Date: Tue, 29 Aug 2006 13:18:33 -0400
> Cc: address@hidden
>
> (let ((image-display-supported-p (memq window-system '(x w32 mac))))
> (if (and image-display-supported-p
> (not (get-text-property (point-min) 'display)))
> (image-toggle-display)
>
> I would suggest testing whether the selected frame can display an
> image.
A.k.a. ``window-system considered harmful''. Please use
display-images-p instead.