Dnia 2013-10-31, o godz. 10:18:01
Matt Price <mopto...@gmail.com> napisaƂ(a):

> Is there a simple way to check if the properties drawer exists before
> creating one?
> I'm trying to add a hook to org-insert-heading-hook that will create a
> property drawer if one doesn't exist (see my earlier email, in which I
> ask,
> 

What about narrowing to the current entry and then searching for the
regex in the variable org-property-drawer-re (which see)?

Hth,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

Reply via email to