Synch with the latest smiley-mule.el.
authoryamaoka <yamaoka>
Tue, 19 Sep 2000 03:32:08 +0000 (03:32 +0000)
committeryamaoka <yamaoka>
Tue, 19 Sep 2000 03:32:08 +0000 (03:32 +0000)
(gnus-copy-article-buffer): Encode bitmap smileys to ordinary text before
removing any text properties.

ChangeLog
lisp/gnus-msg.el

index 1f6373d..2861f34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-19  Katsumi Yamaoka <yamaoka@jpl.org>
+
+       * lisp/gnus-msg.el (gnus-copy-article-buffer): Encode bitmap
+       smileys to ordinary text before removing any text properties.  It
+       is synchronized with the latest smiley-mule.el.
+
 2000-09-19  TSUCHIYA Masatoshi  <tsuchiya@pine.kuee.kyoto-u.ac.jp>
 
        * lisp/nnshimbun.el (nnshimbun-type-definition): Follow URL change
index 34d7dbd..dfd03df 100644 (file)
@@ -482,6 +482,11 @@ header line with the old Message-ID."
          (let ((inhibit-read-only t))
            (copy-to-buffer gnus-article-copy (point-min) (point-max))
            (set-buffer gnus-article-copy)
+           ;; Encode bitmap smileys to ordinary text.
+           ;; Possibly, the original text might be restored.
+           (static-unless (featurep 'xemacs)
+             (when (featurep 'smiley-mule)
+               (smiley-encode-buffer)))
            (gnus-article-delete-text-of-type 'annotation)
            (gnus-remove-text-with-property 'gnus-prev)
            (gnus-remove-text-with-property 'gnus-next)
@@ -501,10 +506,6 @@ header line with the old Message-ID."
          (set-buffer gnus-article-copy)
          (delete-region (goto-char (point-min))
                         (or (search-forward "\n\n" nil t) (point-max)))
-         ;; Encode bitmap smileys to ordinary text.
-         (static-unless (featurep 'xemacs)
-           (when (featurep 'smiley-mule)
-             (smiley-encode-buffer)))
          ;; Insert the original article headers.
          (insert-buffer-substring gnus-original-article-buffer beg end)
          (article-decode-encoded-words)))