;;; ;;; $Id: tm-mh-e3.el,v 5.0 1995/06/22 03:36:07 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) (defvar mail-citation-hook nil "*Hook for modifying a citation just inserted in the mail buffer. Each hook function can find the citation between point and mark. And each hook function should leave point and mark around the citation text as modified.") ;;; 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)