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

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

Re: Visiting an image file fails on tty


From: Richard Stallman
Subject: Re: Visiting an image file fails on tty
Date: Tue, 29 Aug 2006 13:18:33 -0400

    (We may have to rethink some of these issues when the multi-tty patch
    is checked in, since one frame might be able to display images and
    another might not.  But that's for after the release.)


  (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.  That will get equivalent results in the current situation
while doing something reasonable for multi-tty.




reply via email to

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