Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document

From: Andreas Schwab <[email-masked]>
Date: Thu, 14 Nov 2019 17:33:28 +0100

On Nov 14 2019, Eli Zaretskii wrote:

> Where do we have the code or data which does that?

See auto-mode-alist, and doc-view-mode-maybe.

> That's OK, but I'm still missing the code which makes this happen.
> E.g., I just did "C-x C-f foo.doc RET" and got a buffer in Fundamental
> mode.

It only works if you have a doc-view-odf->pdf-converter-program.

Andreas.

-- 
Andreas Schwab, SUSE Labs, [email-masked]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."