org-export: Change output from org-export-resolve-fuzzy-link
commitb03ec00a0ecf7da9770e6823a4d0debd9e1aa38e
authorNicolas Goaziou <n.goaziou@gmail.com>
Fri, 13 Jan 2012 23:01:22 +0000 (14 00:01 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sat, 14 Jan 2012 00:02:07 +0000 (14 01:02 +0100)
treed3881d6b1324fc67f18f5b485056b405c2ee3456
parentb93ed753ff64bea5fa8c44e1d0fc45bc89ab1344
org-export: Change output from org-export-resolve-fuzzy-link

* contrib/lisp/org-export.el (org-export-resolve-fuzzy-link): Now
  return the full object (for a target) or element (for an headline)
  when a match is found.  Also rewrite internals so it doesn't rely
  on :headline-alist.
(org-export-collect-tree-properties): Remove :headline-alist property
  from communication channel, since `org-export-resolve-fuzzy-link'
  doesn't use it anymore. Also store full target objects
  in :target-list property, not only raw names. Fix an argument name
  mismatch, too.

Previous version of org-export-resolve-fuzzy-link returned beginning
position as the identifier for the headline found, which is pretty
weak when files are included in the parsed buffer.
contrib/lisp/org-export.el