Function: align-regions
align-regions is a byte-compiled function defined in align.el.gz.
Signature
(align-regions REGIONS PROPS RULE FUNC)
Documentation
Align the regions specified in REGIONS, a list of cons cells.
PROPS describes formatting features specific to the given regions. RULE specifies exactly how to perform the alignments. If FUNC is specified, it will be called with each region that would have been aligned, rather than modifying the text.
Source Code
;; Defined in /usr/src/emacs/lisp/align.el.gz
(defsubst align-regions (regions props rule func)
"Align the regions specified in REGIONS, a list of cons cells.
PROPS describes formatting features specific to the given regions.
RULE specifies exactly how to perform the alignments.
If FUNC is specified, it will be called with each region that would
have been aligned, rather than modifying the text."
(while regions
(save-excursion
(align-areas (car regions) (car props) rule func))
(setq regions (cdr regions)
props (cdr props))))