Fix inserting headlines at the end of the buffer.
commit7d1e644715f5729e49791408a7aabc37b1da6877
authorCarsten Dominik <carsten.dominik@gmail.com>
Mon, 3 Nov 2008 21:18:25 +0000 (3 22:18 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Mon, 3 Nov 2008 21:18:25 +0000 (3 22:18 +0100)
tree5f423a25bd5dcaa50d3eb21a7e65a259741a3738
parentb87eb74600d0f4a802a570eb7dc367842720eb4f
Fix inserting headlines at the end of the buffer.

When the cursor is at the end of the buffer but not at the beginning
of a line,  inserting a new headline with C-RET did insert the stars
into the last line, without adding the needed newline.  The new line
is now added.
lisp/ChangeLog
lisp/org.el