diff options
| author | Katsumi Yamaoka | 2010-11-12 05:59:53 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-11-12 05:59:53 +0000 |
| commit | 2f0e0dc8be44dba7d4cf8750844f1e8cbe22b740 (patch) | |
| tree | 73334128d2b182fb8a67e96113dd908d7a7f4b99 /lisp | |
| parent | 537c0c7219fa072fb7d62acf3c30ac844f7e8ac7 (diff) | |
| download | emacs-2f0e0dc8be44dba7d4cf8750844f1e8cbe22b740.tar.gz emacs-2f0e0dc8be44dba7d4cf8750844f1e8cbe22b740.zip | |
gnus-art.el (article-treat-non-ascii): Keep text properties.
gnus.texi (Article Washing): Fix typo.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 64752711f98..11118ed1ed7 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-11-12 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-art.el (article-treat-non-ascii): Keep text properties. | ||
| 4 | |||
| 1 | 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org> | 5 | 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 6 | ||
| 3 | * mm-decode.el (mm-dissect-buffer): Pass sender's mail address to | 7 | * mm-decode.el (mm-dissect-buffer): Pass sender's mail address to |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 82de5b46475..a5d9a279ddb 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -2130,14 +2130,18 @@ try this wash." | |||
| 2130 | (save-excursion | 2130 | (save-excursion |
| 2131 | (when (article-goto-body) | 2131 | (when (article-goto-body) |
| 2132 | (let ((inhibit-read-only t) | 2132 | (let ((inhibit-read-only t) |
| 2133 | replace) | 2133 | replace props) |
| 2134 | (while (not (eobp)) | 2134 | (while (not (eobp)) |
| 2135 | (if (not (setq replace (if (featurep 'xemacs) | 2135 | (if (not (setq replace (if (featurep 'xemacs) |
| 2136 | (get-char-table (following-char) table) | 2136 | (get-char-table (following-char) table) |
| 2137 | (aref table (following-char))))) | 2137 | (aref table (following-char))))) |
| 2138 | (forward-char 1) | 2138 | (forward-char 1) |
| 2139 | (delete-char 1) | 2139 | (if (prog1 |
| 2140 | (insert replace)))))))) | 2140 | (setq props (text-properties-at (point))) |
| 2141 | (delete-char 1)) | ||
| 2142 | (add-text-properties (point) (progn (insert replace) (point)) | ||
| 2143 | props) | ||
| 2144 | (insert replace))))))))) | ||
| 2141 | 2145 | ||
| 2142 | (defun article-translate-characters (from to) | 2146 | (defun article-translate-characters (from to) |
| 2143 | "Translate all characters in the body of the article according to FROM and TO. | 2147 | "Translate all characters in the body of the article according to FROM and TO. |