emacs.el: do not enable view-mode if major-mode is derived mode of diff-mode