0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 20:37:51 +00:00

src: Replace newline with blanks when editing inline source code

* lisp/org-src.el (org-edit-footnote-reference): Do not remove newline
completely.
This commit is contained in:
Nicolas Goaziou 2020-05-25 12:36:35 +02:00
parent b614ed0bba
commit 784054bc94

View file

@ -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 ;; remove any newline characters in order to preserve
;; table's structure. ;; table's structure.
(when (org-element-lineage definition '(table-cell)) (when (org-element-lineage definition '(table-cell))
(while (search-forward "\n" nil t) (replace-match ""))))) (while (search-forward "\n" nil t) (replace-match " ")))))
contents contents
'remote)) 'remote))
;; Report success. ;; Report success.