diff options
| author | Katsumi Yamaoka | 2010-09-20 01:57:46 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-09-20 01:57:46 +0000 |
| commit | 321fce9349c6ac37de5376c9484f0aa48d507c19 (patch) | |
| tree | 9919705599699f5e58253e391986292a77cda554 | |
| parent | 93acd23dc3873931d823d06f0443ad32e370870e (diff) | |
| download | emacs-321fce9349c6ac37de5376c9484f0aa48d507c19.tar.gz emacs-321fce9349c6ac37de5376c9484f0aa48d507c19.zip | |
Make Gnus work for Emacs 22 and XEmacs.
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/gnus-html.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 5 |
3 files changed, 11 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 1fac9cd37c5..bfccc8c5f6f 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-09-20 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-html.el (gnus-html-image-fetched): Pass arg to kill-buffer. | ||
| 4 | |||
| 5 | * gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-string | ||
| 6 | by mm-subst-char-in-string. | ||
| 7 | |||
| 1 | 2010-09-19 Lars Magne Ingebrigtsen <larsi@gnus.org> | 8 | 2010-09-19 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 9 | ||
| 3 | * nnimap.el (nnimap-wait-for-connection): Avoid a race condition while | 10 | * nnimap.el (nnimap-wait-for-connection): Avoid a race condition while |
diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el index 819a6d6f31a..78bb7ca18b5 100644 --- a/lisp/gnus/gnus-html.el +++ b/lisp/gnus/gnus-html.el | |||
| @@ -339,7 +339,7 @@ fit these criteria." | |||
| 339 | (when (search-forward "\n\n" nil t) | 339 | (when (search-forward "\n\n" nil t) |
| 340 | ;; Write region (image data) silently | 340 | ;; Write region (image data) silently |
| 341 | (write-region (point) (point-max) file nil 1) | 341 | (write-region (point) (point-max) file nil 1) |
| 342 | (kill-buffer) | 342 | (kill-buffer (current-buffer)) |
| 343 | (when (and (buffer-live-p buffer) | 343 | (when (and (buffer-live-p buffer) |
| 344 | ;; If the `image' has no marker, do not replace anything | 344 | ;; If the `image' has no marker, do not replace anything |
| 345 | (cadr image) | 345 | (cadr image) |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index c35cb2584c5..d0c50c8fec0 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -10769,8 +10769,9 @@ If NO-EXPIRE, auto-expiry will be inhibited." | |||
| 10769 | (goto-char (+ forward (point))) | 10769 | (goto-char (+ forward (point))) |
| 10770 | ;; Replace the old mark with the new mark. | 10770 | ;; Replace the old mark with the new mark. |
| 10771 | (let ((to-insert | 10771 | (let ((to-insert |
| 10772 | (subst-char-in-string (char-after) mark | 10772 | (mm-subst-char-in-string |
| 10773 | (buffer-substring (point) (1+ (point)))))) | 10773 | (char-after) mark |
| 10774 | (buffer-substring (point) (1+ (point)))))) | ||
| 10774 | (delete-region (point) (1+ (point))) | 10775 | (delete-region (point) (1+ (point))) |
| 10775 | (insert to-insert)) | 10776 | (insert to-insert)) |
| 10776 | ;; Optionally update the marks by some user rule. | 10777 | ;; Optionally update the marks by some user rule. |