org-capture: Correctly store position of captured entry
commit1d60d5ee036e5b44416316616e4adbd84828711e
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 6 Dec 2018 14:05:50 +0000 (6 15:05 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 6 Dec 2018 14:07:03 +0000 (6 15:07 +0100)
treef1cc7aa61da3863eeebcf39625a1876c931924f0
parent503ede74bc0a1db59fd2fb7bac0bf1ba7352d15b
org-capture: Correctly store position of captured entry

* lisp/org-capture.el (org-capture-place-entry): Store position at the
  beginning of the capture entry, not at its end.
* testing/lisp/test-org-capture.el (test-org-caputre/entry): Add test.
lisp/org-capture.el
testing/lisp/test-org-capture.el