Browse Source

org-element: Small fix

* lisp/org-element.el (org-element--cache-process-request): Small fix.

This fixes 7fca554f434c1659adb8a931eec590784a217e86.
Nicolas Goaziou 11 years ago
parent
commit
8a43270e8e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      lisp/org-element.el

+ 0 - 1
lisp/org-element.el

@@ -5175,7 +5175,6 @@ t otherwise."
 		(org-element--cache-shift-positions data offset)
 		;; Shift associated objects data, if any.
 		(dolist (object-data (gethash data org-element--cache-objects))
-		  (incf (car object-data) offset)
 		  (dolist (object (cddr object-data))
 		    (org-element--cache-shift-positions object offset))))
 	      (let ((begin (org-element-property :begin data)))