* lisp/emacs-lisp/smie.el (smie-auto-fill): Fix bug#19342

This commit is contained in:
Stefan Monnier 2022-05-06 11:09:58 -04:00
parent 1cda7cfb39
commit 7deaa2e36b

View file

@ -1846,7 +1846,9 @@ to which that point should be aligned, if we were to reindent it.")
(move-to-column fc)
(syntax-ppss))))
(while
(and (with-demoted-errors "SMIE Error: %S"
;; We silence the error completely since errors are "normal" in
;; some cases and an error message would be annoying (bug#19342).
(and (ignore-error scan-error
(save-excursion
(let ((end (point))
(bsf nil) ;Best-so-far.