babel: Make colnames header arg expect use "yes" for true.

This commit is contained in:
Dan Davison 2010-02-24 15:51:00 -05:00
parent 4064c31fa7
commit 5833fbd358
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ called by `org-babel-execute-src-block'."
(result-type (fourth processed-params))
(session (org-babel-R-initiate-session (first processed-params)))
(vars (second processed-params))
(column-names-p (cdr (assoc :colnames params)))
(column-names-p (and (cdr (assoc :colnames params))
(string= "yes" (cdr (assoc :colnames params)))))
(out-file (cdr (assoc :file params)))
(augmented-body
(concat