Hi there, Michael Heerdegen developed a patch for the problem. Feedback: apply patch - not quite successfull When trying to apply the patch M-diff-mode open patch-file M-n C-c C-a I get "Hunk seriously messed up" If I understand diff correctly, the patch aims for line 2204 = "(add-hook 'change-major-mode-hook..." In my version of doc-view.el that line: "(add-hook 'change-major-mode-hook..." is contained in line 2207. That is probably the reason for "Hunk seriously messed up" ... So what I did is: I changed the source code of view-doc.el manually and not via the delevered patch. Then I tested it and ... TADA!!! Success!!! It works. Thanks for the effort Heiner