فهرست منبع

org-element: Fix bug in sync request submission

* lisp/org-element.el (org-element--cache-submit-request): Do not
  modify ending position twice.
Nicolas Goaziou 10 سال پیش
والد
کامیت
ef8e9cf045
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      lisp/org-element.el

+ 0 - 1
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.