[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7deaa2e36b: * lisp/emacs-lisp/smie.el (smie-auto-fill): Fix bug#1
From: |
Stefan Monnier |
Subject: |
master 7deaa2e36b: * lisp/emacs-lisp/smie.el (smie-auto-fill): Fix bug#19342 |
Date: |
Fri, 6 May 2022 11:10:51 -0400 (EDT) |
branch: master
commit 7deaa2e36bafefd5bcd1278444f93212c68ddc19
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* lisp/emacs-lisp/smie.el (smie-auto-fill): Fix bug#19342
---
lisp/emacs-lisp/smie.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el
index 2bab131913..61d52026b3 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 7deaa2e36b: * lisp/emacs-lisp/smie.el (smie-auto-fill): Fix bug#19342,
Stefan Monnier <=