]> git.eshelyaron.com Git - emacs.git/commit
(define-globalized-minor-mode): Fix bug#69431
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 8 Apr 2024 12:18:31 +0000 (08:18 -0400)
committerEshel Yaron <me@eshelyaron.com>
Wed, 10 Apr 2024 20:28:30 +0000 (22:28 +0200)
commitfa3c7ff7db4a3a0ecddb3f778f00a89803f7ec3e
tree909c7aa1ad1c4fde7139fafab39959c013b349c7
parent8f10b9fae3ab34f02df59e040e91f65a4bebe3db
(define-globalized-minor-mode): Fix bug#69431

* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
When `after-change-major-mode-hook` runs, enable the mode only
in the current buffer and not in other pending buffers.

(cherry picked from commit 9506b9392e8c3548b769d9951a1c9d4abad9ee21)
lisp/emacs-lisp/easy-mmode.el