Function: expand-build-list
expand-build-list is a byte-compiled function defined in expand.el.gz.
Signature
(expand-build-list LEN L)
Documentation
Build a vector of offset positions from the list of positions.
Source Code
;; Defined in /usr/src/emacs/lisp/expand.el.gz
;;;###autoload (define-key abbrev-map "p" 'expand-jump-to-previous-slot)
;;;###autoload (define-key abbrev-map "n" 'expand-jump-to-next-slot)
(defun expand-build-list (len l)
"Build a vector of offset positions from the list of positions."
(expand-clear-markers)
(setq expand-list (vconcat l))
(let ((i 0)
(lenlist (length expand-list)))
(while (< i lenlist)
(aset expand-list i (- len (1- (aref expand-list i))))
(setq i (1+ i)))))