diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-04-30 11:42:01 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-04-30 11:42:01 +0200 |
commit | 5c12c21a73947e51313a555dfd474af9b3d99e8d (patch) | |
tree | 63dfc727d3035f2123a1dd1539a61d5856940598 | |
parent | 94f902834a0199e4cf5b1de50ff76f35f23cedc9 (diff) | |
download | org-mode-5c12c21a73947e51313a555dfd474af9b3d99e8d.tar.gz |
org-capture: Narrow to current captured row
* lisp/org-capture.el (org-capture-place-table-line): Narrow to
current captured row and obey :unnarrowed property, like every other
target type.
-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 2666e03..09e230a 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1269,6 +1269,7 @@ may have been stored before." (point)))) (org-capture-position-for-last-stored 'table-line) (org-capture-mark-kill-region beg end) + (org-capture-narrow beg end) (when (or (re-search-backward "%\\?" beg t) (re-search-forward "%\\?" end t)) (replace-match ""))) |