From 784054bc944e28323569a8bbce39034272359400 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 25 May 2020 12:36:35 +0200 Subject: [PATCH] src: Replace newline with blanks when editing inline source code * lisp/org-src.el (org-edit-footnote-reference): Do not remove newline completely. --- lisp/org-src.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-src.el b/lisp/org-src.el index 7876deaba..323e563e8 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -912,7 +912,7 @@ A coderef format regexp can only match at the end of a line." ;; remove any newline characters in order to preserve ;; table's structure. (when (org-element-lineage definition '(table-cell)) - (while (search-forward "\n" nil t) (replace-match ""))))) + (while (search-forward "\n" nil t) (replace-match " "))))) contents 'remote)) ;; Report success.