diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-04-30 01:01:54 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-04-30 01:01:54 +0200 |
commit | cbb48611efcbb49452f00f878f7ce5801802429d (patch) | |
tree | 8956bb583f7d3d8a631b0f03f579294c7c8df4b6 | |
parent | ab53ee2c3d3ad8a090823c5f0f22dfd626605b3c (diff) | |
download | org-mode-cbb48611efcbb49452f00f878f7ce5801802429d.tar.gz |
org-capture: Fix aborting a captured row
* lisp/org-capture.el (org-capture-place-table-line): Add missing
`org-capture-mark-kill-region'.
-rw-r--r-- | lisp/org-capture.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 78c7a48..2666e03 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1268,6 +1268,7 @@ may have been stored before." (insert text) (point)))) (org-capture-position-for-last-stored 'table-line) + (org-capture-mark-kill-region beg end) (when (or (re-search-backward "%\\?" beg t) (re-search-forward "%\\?" end t)) (replace-match ""))) |