after visiting an image file in tty-only built Emacs (i.e. no X),
    it signals the following error:

    Debugger entered--Lisp error: (void-function clear-image-cache)
      clear-image-cache()

That's because the code to handle images was not compiled in.

    I think even if Emacs doesn't display images on a tty, it still makes
    sense to open the content of an image file as text in the Emacs buffer
    without an error.

I agree.  The easiest fix would be: if the selected frame is a tty
frame, image-mode should not call image-toggle-display.

Could you fix it?


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

Reply via email to