Use properties instead of timestamps for Org headings
This commit is contained in:
parent
83f7432f83
commit
469eeda81f
2
init.org
2
init.org
|
@ -3099,7 +3099,7 @@ BUG - improper behaviour with checkboxes.
|
|||
#+BEGIN_SRC emacs-lisp
|
||||
(defun contrapunctus-org-insert-timestamp ()
|
||||
(save-excursion
|
||||
(insert "\n" "<" (format-time-string "%FT%T%z") ">")))
|
||||
(org-set-property "CREATED" (format-time-string "%FT%T%z"))))
|
||||
(add-hook 'org-insert-heading-hook #'contrapunctus-org-insert-timestamp)
|
||||
|
||||
(use-package org-indent
|
||||
|
|
Loading…
Reference in New Issue