From 37aca3ca39f3d87ab510b628114dcc63069d809c Mon Sep 17 00:00:00 2001 From: FrederikBaerentsen Date: Thu, 6 Jun 2024 09:10:16 +0200 Subject: [PATCH] Fixed issue with brackets --- custom-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom-latex.el b/custom-latex.el index f0ccc94..1aacf5b 100644 --- a/custom-latex.el +++ b/custom-latex.el @@ -10,7 +10,7 @@ "Custom function to format headlines for LaTeX export." (concat ;; Add the TODO keyword with a different formatting - (and todo (format "{\\%s} " todo)) + (and todo (format "{\%s} " todo)) ;; Add the priority if present (and priority (when priority (format "\\hspace{0.2em}\\%c" priority))) ;; Add the headline text