Преглед изворни кода

src: Replace newline with blanks when editing inline source code

* lisp/org-src.el (org-edit-footnote-reference): Do not remove newline
completely.
Nicolas Goaziou пре 5 година
родитељ
комит
784054bc94
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lisp/org-src.el

+ 1 - 1
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.