diff options
Diffstat (limited to 'org/.dir-locals.el')
-rw-r--r-- | org/.dir-locals.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/org/.dir-locals.el b/org/.dir-locals.el index d00959c..23bcdda 100644 --- a/org/.dir-locals.el +++ b/org/.dir-locals.el @@ -1,4 +1,7 @@ ;;; Directory Local Variables ;;; For more information see (info "(emacs) Directory Variables") -((org-mode . ((eval . (add-hook 'after-save-hook #'ox-haunt-export-to-html 0 t))))) +((org-mode . ((time-stamp-start . "#\\+DATE:[ ]+\\\\?[\"<]+") + (time-stamp-format . "%Y-%02m-%02d %3a %02H:%02M") + (eval . (progn (add-hook 'after-save-hook #'time-stamp) + (add-hook 'after-save-hook #'ox-haunt-export-to-html 0 t)))))) |