]> git.eshelyaron.com Git - emacs.git/commit
Don't ignore errors in diff-syntax-fontify-hunk.
authorJuri Linkov <juri@linkov.net>
Wed, 7 May 2025 06:20:18 +0000 (09:20 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 08:53:31 +0000 (10:53 +0200)
commit16a43c65835a59ef3958e5a155c802e1bc811fda
tree1a3b239dca60faebcb7f7a931c93e38eb72a65f0
parent49cf47e08829337a64f72ba2feec64cf89d7353e
Don't ignore errors in diff-syntax-fontify-hunk.

* lisp/nxml/nxml-mode.el (nxml-extend-region):
Protect against error "Invalid search bound (wrong side of point)".

* lisp/vc/diff-mode.el (diff-syntax-fontify-hunk):
Use 'with-demoted-errors' instead of 'ignore-errors'.

(cherry picked from commit ddc7bd547a2b422c4b8dca30076c0d9b70de09ad)
lisp/nxml/nxml-mode.el
lisp/vc/diff-mode.el