Variable: align-region-heuristic

align-region-heuristic is a customizable variable defined in align.el.gz.

Value

500

Documentation

If non-nil, used as a heuristic by align-current.

Since each alignment rule can possibly have its own set of alignment sections (whenever align-region-separate is non-nil, and not a string), this heuristic is used to determine how far before and after point we should search in looking for a region separator. Larger values can mean slower performance in large files, although smaller values may cause unexpected behavior at times.

Source Code

;; Defined in /usr/src/emacs/lisp/align.el.gz
(defcustom align-region-heuristic 500
  "If non-nil, used as a heuristic by `align-current'.
Since each alignment rule can possibly have its own set of alignment
sections (whenever `align-region-separate' is non-nil, and not a
string), this heuristic is used to determine how far before and after
point we should search in looking for a region separator.  Larger
values can mean slower performance in large files, although smaller
values may cause unexpected behavior at times."
  :type '(choice (const :tag "Don't use heuristic when aligning a region" nil)
                 integer)
  :group 'align)