Carsten Dominik writes:
> On Aug 5, 2009, at 1:06 AM, Sebastian Rose wrote:
>
>>
>>
>> In my org-setup, I want to have something like this:
>>
>> (defun sr-org-id-insert-maybe ()
>>(if (y-or-n-p "Create a unique ID for this section?")
>> (org-id-get-create)))
>>
>> (org-insert-heading-
On Aug 5, 2009, at 1:06 AM, Sebastian Rose wrote:
In my org-setup, I want to have something like this:
(defun sr-org-id-insert-maybe ()
(if (y-or-n-p "Create a unique ID for this section?")
(org-id-get-create)))
(org-insert-heading-hook (quote (sr-org-id-insert-maybe)))
But I
In my org-setup, I want to have something like this:
(defun sr-org-id-insert-maybe ()
(if (y-or-n-p "Create a unique ID for this section?")
(org-id-get-create)))
(org-insert-heading-hook (quote (sr-org-id-insert-maybe)))
But I don't want to enable it globally. Instead, I want