;;; ;;; $Id: tm-mh-e3.el,v 4.0 1995/06/18 16:26:37 morioka Exp $ ;;; ;;; This is a part of tm-mh-e.el which is a module for old mh-e ;;; to emulate mh-e 4.*. ;;; ;;; This module imports from mh-e 4.1. ;;; (require 'mh-e) ;;; Ensure new buffers won't get this mode if default-major-mode is nil. (put 'mh-show-mode 'mode-class 'special) (defun mh-show-mode () "Major mode for showing messages in mh-e. The value of mh-show-mode-hook is called when a new message is displayed." (kill-all-local-variables) (setq major-mode 'mh-show-mode) (mh-set-mode-name "MH-Show") (run-hooks 'mh-show-mode-hook)) (defun mh-start-of-uncleaned-message () ;; position uninteresting headers off the top of the window (let ((case-fold-search t)) (re-search-forward "^To:\\|^From:\\|^Subject:\\|^Date:" nil t) (beginning-of-line) (mh-recenter 0))) (fset 'mh-show-msg (symbol-function 'mh-show)) (provide 'tm-mh-e3)