Rudolf Adamkovič <rud...@adamkovic.org> writes: >> This won't work. js-comint.el hard-coded buffer name to be >> "*Javascript REPL*". We cannot change that. > > Fixed. I replaced the change with a comment to inform the reader that > JS is miscapitalized on purpose, so that this will not happen again.
Almost :) > --- a/etc/ORG-NEWS > +++ b/etc/ORG-NEWS > @@ -4763,7 +4763,7 @@ wget -c > "https://ben.akrin.com/crackzor/crackzor_1.0.c.gz" > #+end_example > > *** Add ~:session~ support of ob-js for js-comint > -#+begin_src js :session "*Javascript REPL*" > +#+begin_src js :session "*JavaScript REPL*" With this change, the example will no longer work, because > + ;; SIC, JavaScript miscapitalized in `js-comint.el'. > ((string= "*Javascript REPL*" session) > (org-require-package 'js-comint) > (let ((session-buffer "*Javascript REPL*")) -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>