Nick Dokos wrote:
Andrew J. Korty wrote:
> Bernt Hansen wrote:
>
> > (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp)
>
> Using org-insert-heading-hook is more elegant than my way, but I only
> want timestamps on TODO entries, so I use
>
I think you should be a
Andrew J. Korty wrote:
> Bernt Hansen wrote:
>
> > (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp)
>
> Using org-insert-heading-hook is more elegant than my way, but I only
> want timestamps on TODO entries, so I use
>
I think you should be able to use org-entry-get
Bernt Hansen wrote:
(add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp)
Using org-insert-heading-hook is more elegant than my way, but I only
want timestamps on TODO entries, so I use
#+begin_src emacs-lisp
(defadvice org-insert-todo-heading (after ajk/org-time-stamp-ne