branch: externals/org commit 231a81f4b66722385ea491f07423c5fe6c0b825a Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
org-fontify-meta-lines-and-block: Do not use `condition-case-unless-debug' * lisp/org.el (org-fontify-meta-lines-and-blocks): Revert previous change from `condition-case' to `condition-case-unless-debug'. During fontification, all the error are anyway showed away, so users who are permanently running with `debug-on-error' may experience more severe breakdown of the fontification - it may be completely stopped vs. failing just for blocks. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index ee1e4b4b7e..49f5c00c6d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5512,7 +5512,7 @@ by a #." :group 'org-appearance) (defun org-fontify-meta-lines-and-blocks (limit) - (condition-case-unless-debug nil + (condition-case nil (org-fontify-meta-lines-and-blocks-1 limit) (error (message "Org mode fontification error in %S at %d" (current-buffer)