emacs-orgmode
[Top][All Lists]
Advanced

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

image-file-name-regexp: Wrong type argument: characterp


From: Janek F
Subject: image-file-name-regexp: Wrong type argument: characterp
Date: Tue, 02 Aug 2022 22:21:59 +0000

Hello,

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/"

Even though it says:
```lisp
image-file-name-regexps is a variable defined in image-file.el.gz.

Value
("/preview/")

Documentation
List of regexps matching image-file filenames.
```
And the variable is clearly a list.

As posted in https://emacs.stackexchange.com/questions/72902/image-file-name-regexp-wrong-type-argument-characterp

Best,
Janek

reply via email to

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