Variable: so-long-max-lines

so-long-max-lines is a customizable variable defined in so-long.el.gz.

Value

500

Documentation

Number of non-blank, non-comment lines to test for excessive length.

This option normally has no effect in Emacs versions >= 28.1, as the default so-long-predicate sees the entire buffer. Older versions of Emacs still make use of this option.

If nil then all lines will be tested, until either a long line is detected, or the end of the buffer is reached.

If so-long-skip-leading-comments is nil then comments and blank lines will be counted.

See so-long-detected-long-line-p for details.

This variable was added, or its default value changed, in so-long version 1.1.

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/so-long.el.gz
(defcustom so-long-max-lines 500
  "Number of non-blank, non-comment lines to test for excessive length.

This option normally has no effect in Emacs versions >= 28.1, as the default
`so-long-predicate' sees the entire buffer.  Older versions of Emacs still make
use of this option.

If nil then all lines will be tested, until either a long line is detected,
or the end of the buffer is reached.

If `so-long-skip-leading-comments' is nil then comments and blank lines will
be counted.

See `so-long-detected-long-line-p' for details."
  :type '(choice (integer :tag "Limit")
                 (const :tag "Unlimited" nil))
  :package-version '(so-long . "1.1"))