Function: cua-set-rectangle-mark
cua-set-rectangle-mark is an autoloaded, interactive and byte-compiled
function defined in cua-rect.el.gz.
Signature
(cua-set-rectangle-mark &optional REOPEN)
Documentation
Set mark and start in CUA rectangle mode.
With prefix argument, activate previous rectangle if possible.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/cua-rect.el.gz
(defun cua-set-rectangle-mark (&optional reopen)
"Set mark and start in CUA rectangle mode.
With prefix argument, activate previous rectangle if possible."
(interactive "P")
(unless cua--rectangle-initialized
(cua--init-rectangles))
(when (not cua--rectangle)
(if (and reopen
cua--last-rectangle
(eq (car cua--last-rectangle) (current-buffer)))
(goto-char (car (cdr cua--last-rectangle)))
(if (not mark-active)
(push-mark nil nil t)))
(cua--activate-rectangle)
(cua--rectangle-set-corners)
(if cua-enable-rectangle-auto-help
(cua-help-for-rectangle t))))