[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 4666934 2/3: Fix calculation in gnus-update-group-m
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 4666934 2/3: Fix calculation in gnus-update-group-mark-positions |
Date: |
Sat, 14 Apr 2018 18:53:10 -0400 (EDT) |
branch: master
commit 466693416d143f42c606c6aeb0c48a777fc1d637
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Fix calculation in gnus-update-group-mark-positions
* lisp/gnus/gnus-group.el (gnus-update-group-mark-positions):
Rewrite a call to string-to-multibyte that didn't even work.
After the rewrite it gives the correct result and should allow
people to customise Gnus group process mark positions (but that's
a pretty obscure feature).
---
lisp/gnus/gnus-group.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index e6081a4..b4f482b 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -1153,7 +1153,7 @@ The following commands are available:
(goto-char (point-min))
(setq gnus-group-mark-positions
(list (cons 'process (and (search-forward
- (string-to-multibyte "\200") nil t)
+ (string gnus-process-mark) nil t)
(- (point) (point-min) 1))))))))
(defun gnus-mouse-pick-group (e)