(gnus-summary-update-mark): Fix for multibyte marks.
authorJesper Harder <harder@ifa.au.dk>
Thu, 8 Jan 2004 16:16:16 +0000 (16:16 +0000)
committerJesper Harder <harder@ifa.au.dk>
Thu, 8 Jan 2004 16:16:16 +0000 (16:16 +0000)
lisp/ChangeLog
lisp/gnus-sum.el

index 9cf03a1..3088d24 100644 (file)
@@ -1,5 +1,7 @@
 2004-01-08  Jesper Harder  <harder@ifa.au.dk>
 
+       * gnus-sum.el (gnus-summary-update-mark): Fix for multibyte marks.
+
        * gnus-util.el (gnus-replace-in-string): Remove Emacs 20 code.
 
 2003-11-15  Simon Josefsson  <jas@extundo.com>
index 67bb639..ae8d0bc 100644 (file)
@@ -9956,7 +9956,8 @@ If NO-EXPIRE, auto-expiry will be inhibited."
        ;; Go to the right position on the line.
        (goto-char (+ forward (point)))
        ;; Replace the old mark with the new mark.
-       (subst-char-in-region (point) (1+ (point)) (char-after) mark)
+       (delete-char 1)
+       (insert-char mark 1 t)
        ;; Optionally update the marks by some user rule.
        (when (eq type 'unread)
          (gnus-data-set-mark