2000-06-16 Yoshiki Hayashi <yoshiki@xemacs.org>
+ * mime-edit.el (mime-edit-insert-file): Make it work with Emacs.
+
+2000-06-16 Yoshiki Hayashi <yoshiki@xemacs.org>
+
* mime-edit.el (mime-edit-insert-text-file): New function.
(mime-file-types): Treat .htm as an HTML file.
(car candidates)
candidates))
(setq eol (coding-system-eol-type candidate))
- (cond ((eq eol 'lf)
+ (cond ((eq eol
+ (static-if (featurep 'xemacs)
+ 'lf
+ 0))
(setq eol-string "\n"))
- ((eq eol 'cr)
+ ((eq eol
+ (static-if (featurep 'xemacs)
+ 'cr
+ 2))
(setq eol-string "\r")))
(goto-char (point-min))
(when eol-string