From b70cb5b7d0f1e39057e6a3041eaf1dc081846aae Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 17 Jan 2019 14:47:07 +0100 Subject: [PATCH] org-capture: Fix item capture * lisp/org-capture.el (org-capture-place-table-line): Remove unnecessary call to `org-table-align', which could insert a spurious newline character. Reported-by: Thomas Holst --- lisp/org-capture.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 5710d8399..debf1808c 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1333,8 +1333,7 @@ may have been stored before." (org-capture-narrow beg (1- end)) (when (or (search-backward "%?" beg t) (search-forward "%?" end t)) - (replace-match ""))) - (org-table-align)))) + (replace-match "")))))) (defun org-capture-place-plain-text () "Place the template plainly.