;;; @ require modules
;;;
+
(require 'tl-str)
(require 'tl-misc)
-(require 'tm-misc)
(require 'mh-e)
(if (not (boundp 'mh-e-version))
(require 'tm-mh-e3)
;;; @ version
;;;
+
(defconst tm-mh-e/RCS-ID
- "$Id: tm-mh-e.el,v 6.21 1995/06/22 12:02:13 morioka Exp $")
+ "$Id: tm-mh-e.el,v 6.24 1995/09/02 06:02:20 morioka Exp $")
(defconst tm-mh-e/version (get-version-string tm-mh-e/RCS-ID))
;;; @ variable
;;;
+
(defvar tm-mh-e/decode-all t
"*If t, decode all of the message. Otherwise decode header only.")
(save-window-excursion
(switch-to-buffer (concat "show-" mh-sent-from-folder))
mime::article/preview-buffer))
- (if (looking-at "^\\[.+\\]\n")
+ (if (looking-at "^\\[.+\\(\n[ \t].+\\)*\\]\n")
(replace-match ""))
(narrow-to-region (point)(point-max))
(mh-insert-prefix-string mh-ins-buf-prefix)
;;; @ for tm-comp
;;;
+
(defun tm-mh-e::make-message (folder number)
(vector folder number)
)
(defun tm-mh-e/summary-before-quit ()
(let ((buf (get-buffer mh-show-buffer)))
(if buf
- (save-window-excursion
+ (let ((the-buf (current-buffer)))
(switch-to-buffer buf)
- (if mime::article/preview-buffer
- (if (setq buf (get-buffer mime::article/preview-buffer))
- (kill-buffer buf)
- ))))))
+ (if (and mime::article/preview-buffer
+ (setq buf (get-buffer mime::article/preview-buffer))
+ )
+ (progn
+ (switch-to-buffer the-buf)
+ (kill-buffer buf)
+ )
+ (switch-to-buffer the-buf)
+ )
+ ))))
(add-hook 'mh-before-quit-hook (function tm-mh-e/summary-before-quit))
'mh-show-mode
(function tm-mh-e/code-convert-region-to-emacs))
-(run-hooks 'tm-mh-e-load-hook)
+
+;;; @ end
+;;;
(provide 'tm-mh-e)
+
+(run-hooks 'tm-mh-e-load-hook)