From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH 2/4] ob-clojure.el: Add ClojureScript interface Date: Mon, 23 Apr 2018 11:24:17 +0200 Message-ID: <877eoy6zsu.fsf@nicolasgoaziou.fr> References: <20180422205003.87836-1-roberthambrock@gmail.com> <20180422205003.87836-3-roberthambrock@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAXhz-0007yq-Bu for emacs-orgmode@gnu.org; Mon, 23 Apr 2018 05:24:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAXhu-0003md-Au for emacs-orgmode@gnu.org; Mon, 23 Apr 2018 05:24:27 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:54599) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fAXhu-0003mG-3t for emacs-orgmode@gnu.org; Mon, 23 Apr 2018 05:24:22 -0400 In-Reply-To: <20180422205003.87836-3-roberthambrock@gmail.com> (roberthambrock@gmail.com's message of "Sun, 22 Apr 2018 22:50:01 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: roberthambrock@gmail.com Cc: emacs-orgmode@gnu.org Hello, roberthambrock@gmail.com writes: > * lisp/ob-clojure.el (org-babel-execute:clojure): Implemented :target, > which allows selection of connection. > * lisp/ob-clojure.el (org-babel-execute:clojurescript): New > ClojureScript interface that uses :target flag to specify `cljs` > evaluation target. Thank you. > +(defun org-babel-execute:clojurescript (body params) > + (org-babel-execute:clojure body (cons '(:target . "cljs") params))) > + Please add a docstring to the function. Regards, -- Nicolas Goaziou