Function: delete-extract-rectangle
delete-extract-rectangle is an autoloaded and byte-compiled function
defined in rect.el.gz.
Signature
(delete-extract-rectangle START END &optional FILL)
Documentation
Delete 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.
When called from a program the rectangle's corners are START and END. With an optional FILL argument, also fill lines where nothing has to be deleted.
Source Code
;; Defined in /usr/src/emacs/lisp/rect.el.gz
;;;###autoload
(defun delete-extract-rectangle (start end &optional fill)
"Delete 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.
When called from a program the rectangle's corners are START and END.
With an optional FILL argument, also fill lines where nothing has to be
deleted."
(let ((lines (list nil)))
(apply-on-rectangle 'delete-extract-rectangle-line start end lines fill)
(nreverse (cdr lines))))