]> git.eshelyaron.com Git - emacs.git/commit
Don't enable minor modes in diff-add-log-current-defuns
authorStefan Kangas <stefankangas@gmail.com>
Wed, 26 Feb 2025 03:36:51 +0000 (04:36 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 26 Feb 2025 09:42:32 +0000 (10:42 +0100)
commit2c6bf13b38c845519a22c54961ef8da9e1d11f77
treee5558dd35517bcee9c7ea864ca5a288bbf06e23d
parentf6c9e8e29bb82a31dedc9cff46b76935612a80e8
Don't enable minor modes in diff-add-log-current-defuns

* lisp/vc/diff-mode.el (diff-add-log-current-defuns): Don't run mode
hooks when enabling major mode hooks.  That fails if, for example,
paredit-mode is on emacs-lisp-mode-hook and it signaled due to
unbalanced parens.

(cherry picked from commit 539772135222755255a3c8ca0cdda73dc4d742b2)
lisp/vc/diff-mode.el