Browse Source

org-export: Code typo

* contrib/lisp/org-export.el (org-export-get-parent-headline): Code typo.
Nicolas Goaziou 14 năm trước cách đây
mục cha
commit
f4d8a55282
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      contrib/lisp/org-export.el

+ 1 - 1
contrib/lisp/org-export.el

@@ -2843,7 +2843,7 @@ links."
   "Return BLOB's closest parent headline or nil."
   (catch 'exit
     (mapc
-     (lambda (el) (when (eq (car el) headline) (throw 'exit el)))
+     (lambda (el) (when (eq (car el) 'headline) (throw 'exit el)))
      (plist-get info :genealogy))
     nil))