1. xemacs
  2. tm

Commits

steveb  committed 84d246a

mh-e buffer-readonly fix

  • Participants
  • Parent commits 1d6b8b4
  • Branches default

Comments (0)

Files changed (3)

File ChangeLog

View file
+1998-08-27  Darryl Okahata  <darrylo@sr.hp.com>
+
+	* tm-mh-e.el: Fixed problem where buffer-modified-p was being
+	reset too early.
+
 1998-07-23  SL Baur  <steve@altair.xemacs.org>
 
 	* Makefile: Allow for building with XEmacs/no-Mule.

File Makefile

View file
 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-VERSION = 1.11
+VERSION = 1.12
 AUTHOR_VERSION =
 MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
 PACKAGE = tm

File tm-mh-e.el

View file
 		    (replace-match "")
 		    )
 		  )
-		 (set-buffer-modified-p nil)
-		 (setq buffer-read-only t)
 		 (setq buffer-file-name msg-filename)
 		 (mh-show-mode)
 		 (save-excursion
 			    (goto-char (point-min)))
 			   (t
 			    (mh-start-of-uncleaned-message)))))
+		 (set-buffer-modified-p nil)
+		 (setq buffer-read-only t)
 		 (mime/viewer-mode nil nil nil
 				   aname (concat "show-" folder))
 		 (goto-char (point-min))