fix(lib): doom-file-read: (read . N) spec

Failed to read :by argument in '(read . ,N) form.
This commit is contained in:
Henrik Lissner
2025-09-14 11:52:29 -04:00
parent 5776adc6be
commit 1e89556fa8

View File

@@ -288,7 +288,7 @@ If BEG and/or END are integers, only that region will be read from FILE."
(buffer-substring-no-properties (point-min) (point-max)))
('read
(condition-case _ (read (current-buffer)) (end-of-file)))
('(read . ,i)
(`(read . ,i)
(let (forms)
(condition-case _
(dotimes (_ i) (push (read (current-buffer)) forms))