mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(lib): doom-file-read: (read . N) spec
Failed to read :by argument in '(read . ,N) form.
This commit is contained in:
parent
5776adc6be
commit
1e89556fa8
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue