diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-28 08:40:15 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-28 08:40:15 +0100 |
commit | 8992f8abf348b5b4eb2b2074d00b9c9aaaa6df17 (patch) | |
tree | 2998d71f8f217cbc16970ac4625a0a665ad1e46a /etc | |
parent | e7e7ef15886ce28d1d1873164e7ee17a6a5878e0 (diff) | |
download | emacs-8992f8abf348b5b4eb2b2074d00b9c9aaaa6df17.tar.gz |
Make the default `whitespace-enable-predicate' use `derived-mode-p'
* lisp/whitespace.el (whitespace-enable-predicate): Use
`derived-mode-p' to check modes instead of `eq' (bug#40481).
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1098,6 +1098,11 @@ If present in 'whitespace-style' (as it is by default), the final character in the buffer will be highlighted if the buffer doesn't end with a newline. +--- +*** The default 'whitespace-enable-predicate' predicate has changed. +It used to check elements in the list version of +'whitespace-global-modes' with 'eq', but now uses 'derived-mode-p'. + ** Texinfo --- |