]> git.eshelyaron.com Git - emacs.git/commit
Make `global-so-long-mode' use `buffer-line-statistics'
authorPhil Sainty <psainty@orcon.net.nz>
Sat, 16 Jan 2021 12:25:13 +0000 (01:25 +1300)
committerPhil Sainty <psainty@orcon.net.nz>
Tue, 3 Aug 2021 11:20:07 +0000 (23:20 +1200)
commit59128bb804bf029b5a7555cab573e177269e0478
tree918160037a9f6e8ae09707f6f3c565b2375313d5
parent12cbe8e50977fdbd342b9767e4e8bbd7430d3231
Make `global-so-long-mode' use `buffer-line-statistics'

* lisp/so-long.el: (so-long-statistics-excessive-p): New predicate
function using `buffer-line-statistics'.
(so-long-predicate): Use `so-long-statistics-excessive-p' by default.

* etc/NEWS: Describe changes.

* test/lisp/so-long-tests/so-long-tests-helpers.el:
* test/lisp/so-long-tests/so-long-tests.el: Update tests.
Also improve the existing `so-long-tests-predicate' tests.
etc/NEWS
lisp/so-long.el
test/lisp/so-long-tests/so-long-tests-helpers.el
test/lisp/so-long-tests/so-long-tests.el