From ef8e9cf045f48bc7063d0566befe6188f9a1f4d1 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 30 Jun 2014 18:12:13 +0200 Subject: [PATCH] org-element: Fix bug in sync request submission * lisp/org-element.el (org-element--cache-submit-request): Do not modify ending position twice. --- lisp/org-element.el | 1 - 1 file changed, 1 deletion(-) diff --git a/lisp/org-element.el b/lisp/org-element.el index 9bc077c1d..4c3a5bfeb 100644 --- a/lisp/org-element.el +++ b/lisp/org-element.el @@ -5483,7 +5483,6 @@ change, as an integer." ;; Current changes can be merged with first sync request: we ;; can save a partial cache synchronization. (progn - (incf (aref next 2) offset) (incf (aref next 3) offset) ;; If last changes happened before (position wise) old ones, ;; recompute the key of the first element to remove.