Function: picture-yank-rectangle
picture-yank-rectangle is an interactive and byte-compiled function
defined in picture.el.gz.
Signature
(picture-yank-rectangle &optional INSERTP)
Documentation
Overlay rectangle saved by M-x picture-clear-rectangle (picture-clear-rectangle).
The rectangle is positioned with upper left corner at point, overwriting existing text. With prefix argument INSERTP, the rectangle is inserted instead, shifting existing text. Leave mark at one corner of rectangle and point at the other (diagonally opposed) corner.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/picture.el.gz
(defun picture-yank-rectangle (&optional insertp)
"Overlay rectangle saved by \\[picture-clear-rectangle].
The rectangle is positioned with upper left corner at point,
overwriting existing text. With prefix argument INSERTP, the
rectangle is inserted instead, shifting existing text. Leave
mark at one corner of rectangle and point at the
other (diagonally opposed) corner."
(interactive "P")
(if (not (consp picture-killed-rectangle))
(error "No rectangle saved")
(picture-insert-rectangle picture-killed-rectangle insertp)))