Function: picture-clear-rectangle

picture-clear-rectangle is an interactive and byte-compiled function defined in picture.el.gz.

Signature

(picture-clear-rectangle START END &optional KILLP)

Documentation

Clear and save rectangle delineated by point and mark.

The rectangle is saved for yanking by M-x picture-yank-rectangle (picture-yank-rectangle) and replaced with whitespace. The previously saved rectangle, if any, is lost. With prefix argument, the rectangle is actually killed, shifting remaining text.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/picture.el.gz
(defun picture-clear-rectangle (start end &optional killp)
  "Clear and save rectangle delineated by point and mark.
The rectangle is saved for yanking by \\[picture-yank-rectangle] and replaced
with whitespace.  The previously saved rectangle, if any, is lost.  With
prefix argument, the rectangle is actually killed, shifting remaining text."
  (interactive "r\nP")
  (setq picture-killed-rectangle (picture-snarf-rectangle start end killp)))