From 92a8c0bdac2278c1921ba64bacde5e6e984bb5da Mon Sep 17 00:00:00 2001 From: Karthik Chikmagalur Date: Wed, 17 Jan 2024 09:45:59 -0800 Subject: [PATCH] gptel: letrec expansion error in Emacs 27.2 * gptel.el (gptel--stream-convert-markdown->org): (Bug #183) Set variables to nil explicitly in the bindings section of letrec. Implicit nil letrec-bindings appears to cause an issue with Emacs 27.2. --- gptel.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gptel.el b/gptel.el index 75f24a6..f398576 100644 --- a/gptel.el +++ b/gptel.el @@ -1212,7 +1212,7 @@ elements." This function parses a stream of Markdown text to Org continuously when it is called with successive chunks of the text stream." - (letrec ((in-src-block) + (letrec ((in-src-block nil) ;explicit nil to address BUG #183 (temp-buf (generate-new-buffer-name "*gptel-temp*")) (start-pt (make-marker)) (cleanup-fn