Ver código fonte

ob-screen: Execute last line in block (send newline)

* lisp/ob-screen.el (org-babel-screen-session-write-temp-file): Insert
newline after body.
Kenneth D. Mankoff 4 anos atrás
pai
commit
68b7415146
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      lisp/ob-screen.el

+ 1 - 0
lisp/ob-screen.el

@@ -108,6 +108,7 @@ In case you want to use a different screen than one selected by your $PATH")
   (let ((tmpfile (org-babel-temp-file "screen-")))
     (with-temp-file tmpfile
       (insert body)
+      (insert "\n")
 
       ;; org-babel has superfluous spaces
       (goto-char (point-min))