all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* check if properties drawer exists before creating or manipulating?
@ 2013-10-31 14:18 Matt Price
  2013-10-31 14:36 ` Marcin Borkowski
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Price @ 2013-10-31 14:18 UTC (permalink / raw)
  To: Org Mode

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,

^ permalink raw reply	[flat|nested] 4+ messages in thread
* check if properties drawer exists before creating or manipulating?
@ 2013-10-31 14:17 Matt Price
  2013-10-31 15:34 ` Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Price @ 2013-10-31 14:17 UTC (permalink / raw)
  To: Org Mode

(still trying to set properties automatically when a minor-mode is
set, see first message in thread)

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; I don't want to create a bunch
of independent properties drawers.

Thanks!

Matt

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-31 15:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-31 14:18 check if properties drawer exists before creating or manipulating? Matt Price
2013-10-31 14:36 ` Marcin Borkowski
  -- strict thread matches above, loose matches on Subject: below --
2013-10-31 14:17 Matt Price
2013-10-31 15:34 ` Nick Dokos

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.