Fix "Before first headline" error in `org-refresh-property'
commitc1a744659d2b44c067ecb195b3e5d51e837bddd1
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 31 Mar 2015 13:57:54 +0000 (31 15:57 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 31 Mar 2015 13:57:54 +0000 (31 15:57 +0200)
tree44bcd61f5dab8c76891fd8db4f4b6300871bdbc0
parent2081cd3f62aeea2ad0c5539f3907502767301283
Fix "Before first headline" error in `org-refresh-property'

* lisp/org.el (org-refresh-property): Ignore function when before
first headline or inlinetask.  Small refactoring.

Reported-by: Nick Dokos <ndokos@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/96552>
lisp/org.el