org-capture: Fix number of blank lines with :unnarrowed option
commitd6f096546e795430844098af85c3ed703b1597e2
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 23 May 2017 16:10:06 +0000 (23 18:10 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 23 May 2017 16:10:06 +0000 (23 18:10 +0200)
tree80c2c51f45047fe75ca2fa8ec8199993e7666e26
parent7f0391cfe0e6a9f82b222aeb2898849d5154c52f
org-capture: Fix number of blank lines with :unnarrowed option

* lisp/org-capture.el (org-capture-finalize): Remove blank lines
  number fix, which only applies to narrowed capture buffers.
(org-capture-insert-template-here):
(org-capture-place-plain-text):
(org-capture-place-item):
(org-capture-place-entry): Do not hard-code number of blank lines
after entry.

Reported-by: Igor Perepelytsya <igorquail@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/113093>

Reported-by: Jay Dresser <jay@jaydresser.us>
<http://permalink.gmane.org/gmane.emacs.orgmode/113449>
lisp/org-capture.el
testing/lisp/test-org-capture.el