[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ob-ruby.el: Don't reuse the same buffer among different name
From: |
Kyle Meyer |
Subject: |
Re: [PATCH] ob-ruby.el: Don't reuse the same buffer among different named |
Date: |
Sun, 13 Dec 2020 20:00:50 GMT |
Juri Linkov writes:
> Thanks for notifying me. I completely agree that the most suitable
> place to fix would be in org-babel-ruby-initiate-session. So here
> is a patch that I tested with different org header args:
[...]
> Subject: [PATCH] ob-ruby.el: Funcall command if it's a function from
> inf-ruby-implementations
>
> * lisp/ob-ruby.el (org-babel-ruby-initiate-session): When 'command'
> is a function from 'inf-ruby-implementations', use 'funcall' to get
> a command string for the first arg of 'run-ruby-or-pop-to-buffer'.
> This is like what 'run-ruby' does.
Thanks. Pushed (57a70d505), tacking on a Reported-by trailer to the
commit message.