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.
This commit is contained in:
Karthik Chikmagalur 2024-01-17 09:45:59 -08:00
parent b34e217bbf
commit 92a8c0bdac

View file

@ -1212,7 +1212,7 @@ elements."
This function parses a stream of Markdown text to Org This function parses a stream of Markdown text to Org
continuously when it is called with successive chunks of the continuously when it is called with successive chunks of the
text stream." 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*")) (temp-buf (generate-new-buffer-name "*gptel-temp*"))
(start-pt (make-marker)) (start-pt (make-marker))
(cleanup-fn (cleanup-fn