вт, 1 дек. 2020 г. в 18:45, Stefan Monnier : > > I've noticed that sometimes company raises an error in my *scratch*, I've > > shrinked the case and got: > > (with-current-buffer (get-buffer-create "pwp") > > (erase-buffer) > > (insert "((eg \"\C-,\")") > > (elisp--local-variables)) > > Evaluating this sexp raises "Invalid modifier in string" error > > Not sure this is intended, I think elisp--local-variables expects > > `invalid-read-syntax` error for this input, but got another error and > does > > not handle it preventing error from happening > > Clearly, `elisp--local-variables` should catch this error, but as you > point out, maybe the better way to do that is to change the error that > is signaled so that it is a child of `invalid-read-syntax`. > > I've composed a patch that fixes this, could you please apply it. -- lg