Mercurial > emacs
diff lisp/gnus/gnus-sum.el @ 110436:de3a95d08649
Make Gnus work for Emacs 22 and XEmacs.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Mon, 20 Sep 2010 01:57:46 +0000 |
parents | 33cf78a271ef |
children | b7b7e970d807 |
line wrap: on
line diff
--- a/lisp/gnus/gnus-sum.el Mon Sep 20 03:20:32 2010 +0200 +++ b/lisp/gnus/gnus-sum.el Mon Sep 20 01:57:46 2010 +0000 @@ -10769,8 +10769,9 @@ (goto-char (+ forward (point))) ;; Replace the old mark with the new mark. (let ((to-insert - (subst-char-in-string (char-after) mark - (buffer-substring (point) (1+ (point)))))) + (mm-subst-char-in-string + (char-after) mark + (buffer-substring (point) (1+ (point)))))) (delete-region (point) (1+ (point))) (insert to-insert)) ;; Optionally update the marks by some user rule.