From db679cff98eda24be0ea5108f54661f13fc483e9 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 31 Aug 2023 12:46:21 +0300 Subject: [PATCH] * lisp/ob-ruby.el (org-babel-ruby-initiate-session): Fix multiline Without a newline at the end, repl sometimes does not interpret the prompt settings correctly. --- lisp/ob-ruby.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-ruby.el b/lisp/ob-ruby.el index 5f89c8df0..67b6531d7 100644 --- a/lisp/ob-ruby.el +++ b/lisp/ob-ruby.el @@ -192,7 +192,7 @@ then create one. Return the initialized session." (setq-local comint-prompt-regexp (concat "^" org-babel-ruby-prompt)) (insert org-babel-ruby-define-prompt ";") (insert "_org_prompt_mode=conf.prompt_mode;conf.prompt_mode=:CUSTOM;") - (insert "conf.echo=false") + (insert "conf.echo=false\n") (comint-send-input nil t))) session-buffer) (sit-for .5)