babel: now correctly combining nested tangle header arguments

This commit is contained in:
Eric Schulte 2009-12-30 17:37:03 -07:00
parent 2a2a76c2a3
commit da03a848e5
1 changed files with 2 additions and 3 deletions

View File

@ -871,9 +871,8 @@ parameters when merging lists."
(:exports
(setq exports (e-merge exports-exclusive-groups
exports (split-string (cdr pair)))))
(:tangle
(setq tangle (e-merge '(("yes" "no"))
tangle (split-string (or (cdr pair) "")))))
(:tangle ;; take the latest -- always overwrite
(setq tangle (or (list (cdr pair)) tangle)))
(:noweb
(setq noweb (e-merge '(("yes" "no"))
noweb (split-string (or (cdr pair) "")))))