org.el (org-entry-get): Speed up by let-binding some variables only if needed
commit0de96daa957abcbd808cce47168c45965dbd6a96
authorBastien Guerry <bzg@altern.org>
Mon, 7 Jan 2013 17:18:27 +0000 (7 18:18 +0100)
committerBastien Guerry <bzg@altern.org>
Mon, 7 Jan 2013 17:18:27 +0000 (7 18:18 +0100)
tree58b735879b487951acb57f136daa8918b6fcb4d1
parentc8bfd50223d1a75d12d7f74571c24951592c56ec
org.el (org-entry-get): Speed up by let-binding some variables only if needed

* org.el (org-entry-get): Speed up by let-binding some
variables only if needed.  Also fix a bug: consider an empty
drawer as no drawer.

Thanks to William Léchelle for reporting this.
lisp/org.el