[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/crdt e7a3607 45/80: fix cl-block
From: |
ELPA Syncer |
Subject: |
[elpa] externals/crdt e7a3607 45/80: fix cl-block |
Date: |
Sat, 28 Aug 2021 10:57:39 -0400 (EDT) |
branch: externals/crdt
commit e7a36079002c383bbb877619248d27c256279665
Author: Qiantan Hong <qhong@mit.edu>
Commit: Qiantan Hong <qhong@mit.edu>
fix cl-block
---
crdt.el | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/crdt.el b/crdt.el
index e851eb2..26046b7 100644
--- a/crdt.el
+++ b/crdt.el
@@ -937,18 +937,18 @@ into current buffer."
Verify that CRDT IDs in a document follows ascending order."
(let* ((pos (point-min))
(id (crdt--get-starting-id pos)))
- (cl-block
- (while t
- (let* ((next-pos (next-single-property-change pos 'crdt-id))
- (next-id (if (< next-pos (point-max))
- (crdt--get-starting-id next-pos)
- (cl-return)))
- (prev-id (substring id)))
- (crdt--set-id-offset id (+ (- next-pos pos) (crdt--id-offset id)))
- (unless (string< prev-id next-id)
- (error "Not monotonic!"))
- (setq pos next-pos)
- (setq id next-id))))))
+ (cl-block nil
+ (while t
+ (let* ((next-pos (next-single-property-change pos 'crdt-id))
+ (next-id (if (< next-pos (point-max))
+ (crdt--get-starting-id next-pos)
+ (cl-return)))
+ (prev-id (substring id)))
+ (crdt--set-id-offset id (+ (- next-pos pos) (crdt--id-offset id)))
+ (unless (string< prev-id next-id)
+ (error "Not monotonic!"))
+ (setq pos next-pos)
+ (setq id next-id))))))
;;; Network protocol
- [elpa] externals/crdt 76da6ac 62/80: update buffer/user menu in post-command-hook to account for focus change, (continued)
- [elpa] externals/crdt 76da6ac 62/80: update buffer/user menu in post-command-hook to account for focus change, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 20ff5b3 65/80: reenable crdt-mode and synchronize after major mode change, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt d20b384 16/80: document and improvements, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 9c37d4d 19/80: remove superfluous crdt--inhibit-update bind, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 515959c 23/80: partially fixed deleted buffer bug, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 35d9612 28/80: fix some read functions, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt d10f9c0 30/80: bug fix, debug switch, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 2cee2da 41/80: fix bug in crdt-process-message (head remove), ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 12d9a25 40/80: remove buffer bug, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 903ebf9 36/80: better display for address in user menu, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt e7a3607 45/80: fix cl-block,
ELPA Syncer <=
- [elpa] externals/crdt c10b38e 43/80: shorten string when ask for stop session confirmation, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt c495170 09/80: remove debug statements, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt f3e59a4 13/80: usability, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 81f288d 35/80: improve message parser performance, fix buffer list update bug, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt d2fe006 39/80: refactor, get rid of status buffer, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt efe7f10 44/80: fix byte compile warnings, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt d0c439f 59/80: I imagine this fix an imaginary bug with tuntox, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 44068ae 63/80: add port argument to CRDT-SHARE-BUFFER, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 3a2424a 69/80: visualize author doc, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 7282efb 72/80: Add autoloads., ELPA Syncer, 2021/08/28