]> git.eshelyaron.com Git - emacs.git/commit
whitespace: Use `define-globalized-minor-mode' for global mode
authorRichard Hansen <rhansen@rhansen.org>
Sat, 10 Dec 2022 05:57:15 +0000 (00:57 -0500)
committerEli Zaretskii <eliz@gnu.org>
Sat, 31 Dec 2022 08:48:37 +0000 (10:48 +0200)
commitf59d012af7e607448fdb435fcb4becb6a6ebe665
tree021d328adcf28ef8afe9e952625ef35cb7b89893
parent24488bc4b275109d7132689a0714cfb11d05e512
whitespace: Use `define-globalized-minor-mode' for global mode

* lisp/whitespace.el (global-whitespace-mode): Fix interoperability
between `whitespace-mode' and `global-whitespace-mode' by using
`define-globalized-minor-mode'.  (Bug#60334)
* test/lisp/whitespace-tests.el (whitespace-tests--global): Add a
regression test.
lisp/whitespace.el
test/lisp/whitespace-tests.el