diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-01-17 14:47:07 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-01-17 14:47:07 +0100 |
commit | b70cb5b7d0f1e39057e6a3041eaf1dc081846aae (patch) | |
tree | c465a9bf7fe72beb9b1ed48223a4ea5ea900ae42 | |
parent | 3b7293a86b8d47e689b0205e28e16470a77eb790 (diff) | |
download | org-mode-b70cb5b7d0f1e39057e6a3041eaf1dc081846aae.tar.gz |
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>
-rw-r--r-- | lisp/org-capture.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 5710d83..debf180 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. |