mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 20:07:46 +00:00
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:
parent
3b7293a86b
commit
b70cb5b7d0
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue