org.el: Fix setting and deleting properties with a null value
commit89cb26ed175fc4893b4b07be4f71ff5a8b857e1a
authorBastien Guerry <bzg@altern.org>
Mon, 2 Jun 2014 13:40:04 +0000 (2 15:40 +0200)
committerBastien Guerry <bzg@altern.org>
Mon, 2 Jun 2014 13:40:04 +0000 (2 15:40 +0200)
treef161932301207ee351aa818a59161b4bf201f837
parent9e09b2d5f62ffcea32194d65127f4b54a6d74440
org.el: Fix setting and deleting properties with a null value

* org.el (org-property-re): Also match null properties by
default.
(org-entry-delete): Also delete null properties.
(org-read-property-value): Allow the empty string as a new
value.
(org-delete-property): Throw a message when there is not
property to delete.

Thanks to Andrea Rossetti for reporting this.
lisp/org.el