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 <Thomas_Holst@gmx.de>
<http://lists.gnu.org/r/emacs-orgmode/2019-01/msg00233.html>
This commit is contained in:
Nicolas Goaziou 2019-01-17 14:47:07 +01:00
parent 3b7293a86b
commit b70cb5b7d0
1 changed files with 1 additions and 2 deletions

View File

@ -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.