`elisp--local-variables' чт, 17 дек. 2020 г. в 18:43, Stefan Monnier : > > I've composed a patch that fixes this, could you please apply it. > > Done. > > This patch fixes this particular problem with lisp syntax reader, however `elisp--local-variables' remains *so* fragile, for example here I've got next errors from it: In these cases lisp syntax is ok, but `elisp--local-variables-1' fails on it: (with-current-buffer (get-buffer-create "bb") (erase-buffer) (insert "(let cc ") (elisp--local-variables)) ==> Lisp error: (wrong-type-argument listp cc) (with-current-buffer (get-buffer-create "bb") (erase-buffer) (insert "(let [a b]\n") (elisp--local-variables)) ==> Lisp error: (wrong-type-argument listp [a b]) Should we fix all these cases one by one, or maybe just run `elisp--local-variables` under `ignore-errors`, what do you think? -- lg