Fix `org-log-beginning' on empty entries
commit442216871a72dfe79397432223349fbf5a055558
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 20 Dec 2014 20:59:51 +0000 (20 21:59 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 20 Dec 2014 20:59:51 +0000 (20 21:59 +0100)
tree55d856f3bd5592fc84c7e84c461b1bf7f8942ec3
parent685e4b733ac7f972b668fb5fb13db9bba24b78f0
Fix `org-log-beginning' on empty entries

* lisp/org.el (org-log-beginning): Check for the need to insert
  a drawer in all cases.

Suggested-by: Eric Abrahamsen <eric@ericabrahamsen.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/93538>
lisp/org.el