[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with doc-view-previous-major-mode
From: |
Stefan Monnier |
Subject: |
Re: Problem with doc-view-previous-major-mode |
Date: |
Sat, 13 Apr 2013 22:56:09 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> what happens with -Q. But I have customized the global value of
> major-mode to text-mode, and when I type C-c C-c on the image of a .docx
> file, instead of getting the archive listing I only see the binary
> content in text-mode. The reason for this is that in doc-view-mode,
> doc-view-previous-major-mode is assigned the global value of major-mode,
> unless this is fundamental-mode, and then doc-view-fallback-mode calls
> the mode function stored in doc-view-previous-major-mode, in my case
> text-mode. But if doc-view-previous-major-mode is nil, then
I've installed a patch which seems to fix this problem,
Stefan