Function: cua-resize-rectangle-right
cua-resize-rectangle-right is an interactive and byte-compiled
function defined in cua-rect.el.gz.
Signature
(cua-resize-rectangle-right N)
Documentation
Resize rectangle to the right.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/cua-rect.el.gz
(defun cua-resize-rectangle-right (n)
"Resize rectangle to the right."
(interactive "p")
(let ((resized (> n 0)))
(while (> n 0)
(setq n (1- n))
(cond
((cua--rectangle-right-side)
(cua--rectangle-right (1+ (cua--rectangle-right)))
(move-to-column (cua--rectangle-right)))
(t
(cua--rectangle-left (1+ (cua--rectangle-left)))
(move-to-column (cua--rectangle-right)))))
(if resized
(cua--rectangle-resized))))