Janek F <xer...@pm.me> writes:

> I wanted to mark certain filenames as images and added this to my config.el:
>
> (add-to-list 'image-file-name-regexps "/preview/")
>
> But when I run `org-toggle-inline-images` now, I get the following error.
>
> image-file-name-regexp: Wrong type argument: characterp, "/preview/"

This is likely because you are using the bleeding edge Emacs.
Please update your Emacs to fix the issue, which is on Emacs side.
See https://lists.gnu.org/archive/html/emacs-devel/2022-08/msg00004.html

Best,
Ihor

Reply via email to