* lisp/org.el (org-insert-heading): Run org-insert-heading-hook when creating
the first heading in a file
The org-insert-heading-hook was skipped when creating the first
heading in a new org file.
---
Carsten,
You're correct -- I completely missed the list details on this one. Here's an
updated
Hi Bernt,
this patch does not work, it calls the hook also after inserting a new
item.
Please fix it by first reverting, and then call the hook also inside
the if clause, right after (insert "\n") - you need progn then, of
course.
Thanks.
- Carsten
On Sep 26, 2010, at 4:15 PM, Bernt H
* lisp/org.el (org-insert-heading): Run org-insert-heading-hook when creating
the first heading in a file
The org-insert-heading-hook was skipped when creating the first
heading in a new org file.
---
I use an hook which creates an inactive timestamp for new headings. This was
reported
by k-ma