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