diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/org/org-table.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el index 8927b1c2ed9..abba29952e6 100644 --- a/lisp/org/org-table.el +++ b/lisp/org/org-table.el @@ -2005,7 +2005,7 @@ the table and kill the editing buffer." text) (goto-char (point-min)) (while (re-search-forward "^#.*\n?" nil t) (replace-match "")) - (while (re-search-forward "[ \t]*\\(?:\n[ \t]*\\)+" nil t) + (while (re-search-forward "[ \t]*\n[ \t\n]*" nil t) (replace-match " ")) (setq text (org-trim (buffer-string))) (set-window-configuration cw) |