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 07:47:33 -0400

    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?




reply via email to

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