Berry, Charles <ccbe...@health.ucsd.edu> writes: >> On May 29, 2020, at 7:03 PM, stardiviner <numbch...@gmail.com> wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> >> When I have a source block (The "|" represents the point): >> >> #+begin_src sh :eval no >> chrome --remote-debugging-port >> | >> >> #+end_src >> >> Then press =[C-c C-v d]=, it becomes like this: >> >> #+begin_src sh :eval no >> chrome --remote-debugging-port >> #+end_src >> >> #+begin_src >> sh :eval no >> >> #+end_src >> >> - -- > > Exactly. Commit 5f0a9cca3 adds a `\n' in line 1911 that should have been a > space. >
Thanks! I just did a small patch to fix this.
From af210eeb78d7611aeb7b6d1a99433cee10e53186 Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Sun, 31 May 2020 10:59:41 +0800 Subject: [PATCH] fix 5f0a9cca3 --- lisp/ob-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index e554e3934..79937e517 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -1908,7 +1908,7 @@ (defun org-babel-demarcate-block (&optional arg) (if (looking-at "^") "" "\n") indent (if upper-case-p "#+END_SRC\n" "#+end_src\n") (if arg stars indent) "\n" - indent (if upper-case-p "#+BEGIN_SRC\n" "#+begin_src\n") + indent (if upper-case-p "#+BEGIN_SRC\n" "#+begin_src ") lang (if (> (length headers) 1) (concat " " headers) headers) -- 2.26.2
> Chuck > > [snip] -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
signature.asc
Description: PGP signature