diff options
| -rw-r--r-- | lisp/progmodes/elisp-mode.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 41415943a58..5ba09789097 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el | |||
| @@ -1615,7 +1615,11 @@ Calls REPORT-FN directly." | |||
| 1615 | (generate-new-buffer " *checkdoc-temp*"))) | 1615 | (generate-new-buffer " *checkdoc-temp*"))) |
| 1616 | (unwind-protect | 1616 | (unwind-protect |
| 1617 | (save-excursion | 1617 | (save-excursion |
| 1618 | (checkdoc-current-buffer t)) | 1618 | ;; checkdoc-current-buffer can error if there are |
| 1619 | ;; unbalanced parens, for example, but this shouldn't | ||
| 1620 | ;; disable the backend (bug#29176). | ||
| 1621 | (ignore-errors | ||
| 1622 | (checkdoc-current-buffer t))) | ||
| 1619 | (kill-buffer checkdoc-diagnostic-buffer))) | 1623 | (kill-buffer checkdoc-diagnostic-buffer))) |
| 1620 | (funcall report-fn | 1624 | (funcall report-fn |
| 1621 | (cl-loop for (text start end _unfixable) in | 1625 | (cl-loop for (text start end _unfixable) in |