Function: wisent-region
wisent-region is a byte-compiled function defined in wisent.el.gz.
Signature
(wisent-region &rest POSITIONS)
Documentation
Return the start/end positions of the region including POSITIONS.
Each element of POSITIONS is a pair (START-POS . END-POS) or nil. The returned value is the pair (MIN-START-POS . MAX-END-POS) or nil if no POSITIONS are available.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/wisent.el.gz
(defsubst wisent-region (&rest positions)
"Return the start/end positions of the region including POSITIONS.
Each element of POSITIONS is a pair (START-POS . END-POS) or nil. The
returned value is the pair (MIN-START-POS . MAX-END-POS) or nil if no
POSITIONS are available."
(let ((pl (delq nil positions)))
(if pl
(cons (apply #'min (mapcar #'car pl))
(apply #'max (mapcar #'cdr pl))))))