Selaa lähdekoodia

org-element: Fix small bug in org-element-map

* contrib/lisp/org-element.el (org-element-map): Fix small bug.
Nicolas Goaziou 13 vuotta sitten
vanhempi
commit
8d57abc669
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      contrib/lisp/org-element.el

+ 3 - 2
contrib/lisp/org-element.el

@@ -3032,8 +3032,9 @@ Nil values returned from FUN are ignored in the result."
 		      (funcall
 		       walk-tree --blob
 		       (org-combine-plists
-			info `(:genealogy
-			       ,(cons --blob (plist-get info :genealogy)))))))))
+			--local
+			`(:genealogy
+			  ,(cons --blob (plist-get --local :genealogy)))))))))
 	      (org-element-get-contents --data))))))
     (catch 'first-match
       (funcall walk-tree data info)