Function: cua-restrict-prefix-rectangle
cua-restrict-prefix-rectangle is an interactive and byte-compiled
function defined in cua-rect.el.gz.
Signature
(cua-restrict-prefix-rectangle ARG)
Documentation
Restrict rectangle to lines (not) starting with CHAR.
With prefix argument, toggle restriction.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/cua-rect.el.gz
(defun cua-restrict-prefix-rectangle (arg)
"Restrict rectangle to lines (not) starting with CHAR.
With prefix argument, toggle restriction."
(interactive "P")
(let ((r (cua--rectangle-restriction)))
(if (and r (car (cdr r)))
(if arg
(cua--rectangle-restriction (car r) t (not (car (cdr (cdr r)))))
(cua--rectangle-restriction "" nil nil))
(cua--rectangle-restriction
(format "[%c]"
(read-char "Restrictive rectangle (char): ")) t arg))))