Function: clear-rectangle
clear-rectangle is an autoloaded, interactive and byte-compiled
function defined in rect.el.gz.
Signature
(clear-rectangle START END &optional FILL)
Documentation
Blank out the region-rectangle.
The text previously in the region is overwritten with blanks.
When called from a program the rectangle's corners are START and END. With a prefix (or a FILL) argument, also fill with blanks the parts of the rectangle which were empty.
Probably introduced at or before Emacs version 1.7.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/rect.el.gz
;;;###autoload
(defun clear-rectangle (start end &optional fill)
"Blank out the region-rectangle.
The text previously in the region is overwritten with blanks.
When called from a program the rectangle's corners are START and END.
With a prefix (or a FILL) argument, also fill with blanks the parts of the
rectangle which were empty."
(interactive "*r\nP")
(apply-on-rectangle 'clear-rectangle-line start end fill))