org-capture: Fix plain capture at the end of the buffer.
commit7a4a10dea036658633060f4a43dcc95e6b5b4423
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 22 Oct 2018 23:22:49 +0000 (23 01:22 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 22 Oct 2018 23:26:17 +0000 (23 01:26 +0200)
tree90698b98e2b9c90883113c6b7d7dd915ccc87c01
parentad0fce50ebe8864c365bfba4d4a8e0e6a767d266
org-capture: Fix plain capture at the end of the buffer.

* lisp/org-capture.el (org-capture-place-plain-text): Fix plain
  capture at the end of the buffer.
* testing/lisp/test-org-capture.el (test-org-capture/plain): New test.
lisp/org-capture.el
testing/lisp/test-org-capture.el