Subject: bug#25360: File mode specification errors during building

From: Eli Zaretskii <[email-masked]>
Date: Tue, 10 Jan 2017 20:48:13 +0200

> From: [email-masked] (Phillip Lord)
> Cc: [email-masked],  [email-masked]
> Date: Tue, 10 Jan 2017 18:40:28 +0000
> 
> One error is caused when bootstrap-emacs loads CTLau.html, when it's
> running this code in leim.
> 
> misc_convert = $(AM_V_GEN)${RUN_EMACS} \
>   -l titdic-cnv -f batch-miscdic-convert -dir ${leimdir}/quail
> 
> ## CTLau.el, CTLau-b5.el.
> ${leimdir}/quail/CT%.el: ${srcdir}/MISC-DIC/CT%.html
> 	${misc_convert} $<
> 
> As far as I can tell it is happening because emacs tries to put
> CTLau.html into html-mode. AFAICT, batch-miscdic-convert uses no
> features of html-mode.

Ok, and how does image-type-auto-detected-p enter this picture?

> Still, I'll plug at it a little more.

Thanks.