Re: [O] [PATCH 1/2] clean up two macros in ob-comint

2013-10-29 Thread Eric Schulte
Applied, thanks! Aaron Ecay writes: > * lisp/ob-comint.el (org-babel-comint-with-output, > org-babel-comint-in-buffer): clean up code. > > This patch replaces some deeply nested ca/dr calls with ‘nth’, and > replaces a setq/unwind-protect/setq incantation with a simple let > binding. Finally, i

[O] [PATCH 1/2] clean up two macros in ob-comint

2013-10-28 Thread Aaron Ecay
* lisp/ob-comint.el (org-babel-comint-with-output, org-babel-comint-in-buffer): clean up code. This patch replaces some deeply nested ca/dr calls with ‘nth’, and replaces a setq/unwind-protect/setq incantation with a simple let binding. Finally, it also restructures ’org-babel-comint-in-buffer’ t