Throw an error when trying to set invalid properties
commit22cf1bf7ed94fef38108c80b0330bfe00f664686
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 6 Jan 2016 13:43:37 +0000 (6 14:43 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 6 Jan 2016 13:45:52 +0000 (6 14:45 +0100)
tree351f6377286a9cd01fe93a5b5d476a79524ab238
parent3d4c4676737b3516adf9a12f03dd1ed7b67e3477
Throw an error when trying to set invalid properties

* lisp/org.el (org--valid-property-p): New function.
(org-entry-put):
(org-set-property): Use new function.

Suggested-by: Julien Cubizolles <j.cubizolles@free.fr>
<http://permalink.gmane.org/gmane.emacs.orgmode/104044>
lisp/org.el
testing/lisp/test-org.el