From 75129847f2169ee328a028e90aff7937986ed4ce Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Wed, 11 Jun 2025 09:44:32 -0700 Subject: [PATCH] [FIX] Use orgtbl-mode instead of org-mode Invoking org-mode runs a bunch of org-mode hooks and is overkill for formatting a single table. Instead, this patch enables the orgtbl minor mode, a mode specifically designed for this use-case. --- syncthing-draw.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncthing-draw.el b/syncthing-draw.el index 87f6471..9c20b95 100644 --- a/syncthing-draw.el +++ b/syncthing-draw.el @@ -166,7 +166,7 @@ (iso8601-parse (alist-get 'time item))))) text))) (insert (string-join (reverse text) "\n"))) - (org-mode) + (orgtbl-mode) (org-table-align) (substring-no-properties (buffer-string)))))))