(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.


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to