Function: extract-rectangle

extract-rectangle is an autoloaded and byte-compiled function defined in rect.el.gz.

Signature

(extract-rectangle START END)

Documentation

Return the contents of the rectangle with corners at START and END.

Return it as a list of strings, one for each line of the rectangle.

Source Code

;; Defined in /usr/src/emacs/lisp/rect.el.gz
;;;###autoload
(defun extract-rectangle (start end)
  "Return the contents of the rectangle with corners at START and END.
Return it as a list of strings, one for each line of the rectangle."
  (let ((lines (list nil)))
    (apply-on-rectangle 'extract-rectangle-line start end lines)
    (nreverse (cdr lines))))