From: Stefan Monnier Date: Fri, 6 May 2022 15:09:58 +0000 (-0400) Subject: * lisp/emacs-lisp/smie.el (smie-auto-fill): Fix bug#19342 X-Git-Tag: emacs-29.0.90~1931^2~15 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7deaa2e36bafefd5bcd1278444f93212c68ddc19;p=emacs.git * lisp/emacs-lisp/smie.el (smie-auto-fill): Fix bug#19342 --- diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el index 2bab1319132..61d52026b38 100644 --- a/lisp/emacs-lisp/smie.el +++ b/lisp/emacs-lisp/smie.el @@ -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.