Function: so-long-statistics-excessive-p
so-long-statistics-excessive-p is a byte-compiled function defined in
so-long.el.gz.
Signature
(so-long-statistics-excessive-p)
Documentation
Non-nil if the buffer contains a line longer than so-long-threshold bytes.
This uses buffer-line-statistics (available from Emacs 28.1) to establish the
longest line in the buffer (counted in bytes rather than characters).
This is the default value of so-long-predicate in Emacs versions >= 28.1.
(In earlier versions so-long-detected-long-line-p is used by default.)
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/so-long.el.gz
;; When the line's long
;; When the mode's slow
;; When Emacs is sad
;; We change automatically to faster code
;; And then I won't feel so mad
(defun so-long-statistics-excessive-p ()
"Non-nil if the buffer contains a line longer than `so-long-threshold' bytes.
This uses `buffer-line-statistics' (available from Emacs 28.1) to establish the
longest line in the buffer (counted in bytes rather than characters).
This is the default value of `so-long-predicate' in Emacs versions >= 28.1.
\(In earlier versions `so-long-detected-long-line-p' is used by default.)"
(> (cadr (buffer-line-statistics))
so-long-threshold))