Hello,

roberthambr...@gmail.com writes:

> * lisp/ob-clojure.el (org-babel-edit-prep:clojure): New function that
> sets the buffer's namespace to the value of :ns, if provided.
> (org-babel-edit-prep:clojurescript): Alias for
> org-babel-edit-prep:clojure.

Thank you.

> +(defun org-babel-edit-prep:clojure (babel-info)
> +  (if-let* ((namespace (cdr (assq :ns (nth 2 babel-info)))))
> +      (setq-local cider-buffer-ns namespace)))

Missing docstring. Also, please avoid `if-let*', which is non-standard,
AFAIK. You can use `pcase' however.

Regards,

-- 
Nicolas Goaziou

Reply via email to