Function: xselect-convert-to-lineno
xselect-convert-to-lineno is a byte-compiled function defined in
select.el.gz.
Signature
(xselect-convert-to-lineno SELECTION TYPE VALUE)
Source Code
;; Defined in /usr/src/emacs/lisp/select.el.gz
(defun xselect-convert-to-lineno (_selection _type value)
(when (setq value (xselect--selection-bounds value))
(with-current-buffer (nth 2 value)
(let ((beg (line-number-at-pos (nth 0 value)))
(end (line-number-at-pos (nth 1 value))))
(cons 'SPAN (vector (xselect--int-to-cons (min beg end))
(xselect--int-to-cons (max beg end))))))))