emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] check if properties drawer exists before creating or manipulatin


From: Marcin Borkowski
Subject: Re: [O] check if properties drawer exists before creating or manipulating?
Date: Thu, 31 Oct 2013 15:36:08 +0100

Dnia 2013-10-31, o godz. 10:18:01
Matt Price <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]