[Top][All Lists]

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

bug#33241: image-mode in non-file buffer

From: Juri Linkov
Subject: bug#33241: image-mode in non-file buffer
Date: Mon, 05 Nov 2018 22:57:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

> I've got problems with image-mode triggered by scad-preview, but I have
> tiny code example to trigger it:
>     (pop-to-buffer
>      (with-current-buffer (get-buffer-create "mybuf")
>        (insert-file-contents "~/pics/nav1.jpg")
>        (major-mode-suspend)
>        (setq major-mode 'image-mode)
>        (image-toggle-display-image)
>        (current-buffer)))
> ===>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   file-name-nondirectory(nil)
>   file-name-extension(nil)
>   image--imagemagick-wanted-p(nil)

Thanks for the bug report, this is now fixed.

reply via email to

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