causes a compiler warning.
* mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
the message to be viewed (closes SF #
1306141).
+2005-10-16 Satyaki Das <satyaki@theforce.stanford.edu>
+
+ * mh-init.el (mh-image-load-path): Remove use of pushnew since it
+ causes a compiler warning.
+
+ * mh-utils.el (mh-display-msg): Do MIME cleanup before inserting
+ the message to be viewed (closes SF #1306141).
+
2005-10-16 Masatake YAMATO <jet@gyve.org>
* mh-comp.el (mh-complete-word): Pass the common
(error "Can not find image directory %s"
mh-image-load-path))
((boundp 'image-load-path)
- (pushnew mh-image-load-path image-load-path))
+ (unless (member mh-image-load-path image-load-path)
+ (push mh-image-load-path image-load-path)))
((not (member mh-image-load-path load-path))
(push mh-image-load-path load-path))))
(setq mh-image-load-path-called-flag t)))
(cond ((not (equal msg-filename buffer-file-name))
(mh-unvisit-file)
(setq buffer-read-only nil)
+ ;; Cleanup old mime handles
+ (mh-mime-cleanup)
(erase-buffer)
;; Changing contents, so this hook needs to be reinitialized.
;; pgp.el uses this.
(list "-form" formfile))
msg-filename)
(insert-file-contents-literally msg-filename))
- ;; Cleanup old mime handles
- (mh-mime-cleanup)
;; Use mm to display buffer
(when (and mh-decode-mime-flag (not formfile))
(mh-add-missing-mime-version-header)