org.el: org-babel-load-file loads first tangle file
commitc90925be29a52122cfe04c7b293432106a4981da
authorSami Airaksinen <samiaira@gmail.com>
Thu, 29 Jan 2015 21:10:02 +0000 (29 23:10 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 31 Jan 2015 23:02:21 +0000 (1 00:02 +0100)
tree8e9efabcb219d7737424b6aba4dcc15a8ab533fe
parentb4b16c61654c2eecd1b5f019601069eb010f267e
org.el: org-babel-load-file loads first tangle file

(org-babel-load-file): When org-mode FILE has multiple target files
for tangle blocks, `exported-file' will be set to last found
target file, which might not be the `file'.

Therefore fix for this bug is to select the last element of that
tangled file list, which is the tangle target file of the first found
tangle block, most typically the `file'.

TINYCHANGE
lisp/org.el