From 0a5f908c484b26c414a1842223fdcc1dc2fa0e39 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 6 Nov 2025 20:39:20 +0100 Subject: [PATCH] Move org-timestamp-formats setting to the :config block of Org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This variable is actually a const so it shouldn’t be tampered with (as yantar92 said in [a Matrix message](https://matrix.to/#/%21rUhEinythPhVTdddsb%3Amatrix.org/%2417625298361396UYIZz%3Amatrix.org?via=matrix.org&via=envs.net&via=fedora.im), but this specific value [should be OK](https://matrix.to/#/%21rUhEinythPhVTdddsb%3Amatrix.org/%2417625298651398YcFjt%3Amatrix.org?via=matrix.org&via=envs.net&via=fedora.im). --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index 8fca151..01dd128 100644 --- a/init.el +++ b/init.el @@ -926,7 +926,6 @@ order." 'append) (setq-default org-default-notes-file (expand-file-name "notes.org" org-directory) org-agenda-files `(,org-directory) - org-time-stamp-formats '("<%Y-%m-%d>" . "<%Y-%m-%d %H:%M>") org-todo-keywords '((sequence "TODO(t)" "DOING(w@/!)" "BLOCKED(b@/!)" @@ -943,6 +942,7 @@ order." (off . "") (trans . "")))) :config + (setq org-timestamp-formats (cons "%Y-%m-%d" "%Y-%m-%d %H:%M")) ;; Load the markdown exporter (require 'ox-md) ;; Handle org-protocol:// links