org-mode/lisp
Dan Davison d128662fa3 Eliminating duplicated code (take 2...).
This proposal for code tidying uses multiple-value-bind to satisfy:

1. The various parsed/resolved components of the param list (session,
   vars, result-type) are available in the org-babel-execute:LANG
   functions.
2. Those functions don't duplicate the code for parsing the params
   list and resolving references
3. The functions still have the params list available to them, should
   they need to implement language-specific behaviour using it.

If the org-babel-execute:LANG functions need to be called directly,
then that would now have to be via
(multiple-value-bind (session vars result-params result-type)
      (org-babel-process-params params) (funcall cmd body params))

as in org-babel-exp.el. (But is it actually necessary to by-pass
org-babel-execute-src-block?)
2009-07-16 16:21:07 -04:00
..
langs Eliminating duplicated code (take 2...). 2009-07-16 16:21:07 -04:00
org-babel-comint.el Cosmetic changes only: shortening lines to fit my screen. 2009-07-11 23:59:04 -04:00
org-babel-exp.el Eliminating duplicated code (take 2...). 2009-07-16 16:21:07 -04:00
org-babel-init.el now requiring cl 2009-06-27 11:58:00 -07:00
org-babel-lob.el Cosmetic changes only: shortening lines to fit my screen. 2009-07-11 23:59:04 -04:00
org-babel-ref.el Cosmetic changes only: shortening lines to fit my screen. 2009-07-11 23:59:04 -04:00
org-babel-table.el Cosmetic changes only: shortening lines to fit my screen. 2009-07-11 23:59:04 -04:00
org-babel-tangle.el Make org-babel-tangle comment with ;;*. 2009-07-16 11:25:57 -04:00
org-babel.el Eliminating duplicated code (take 2...). 2009-07-16 16:21:07 -04:00