* lisp/image-file.el (image-file-name-regexp): Treat
`image-file-name-regexps' as a list of regexps (as documented) in
addition to a regexp string (bug#57971).
Copyright-paperwork-exempt: yes
"\\'"))))
(mapconcat
#'identity
- (delq nil (list exts-regexp
- image-file-name-regexps
- (car (rassq 'imagemagick image-type-file-name-regexps))))
+ (delq nil
+ (nconc (list exts-regexp
+ (car (rassq 'imagemagick image-type-file-name-regexps)))
+ (ensure-list image-file-name-regexps)))
"\\|")))