diff options
| -rw-r--r-- | lisp/emulation/cua-rect.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emulation/cua-rect.el b/lisp/emulation/cua-rect.el index 226f696dad2..5c4bc011464 100644 --- a/lisp/emulation/cua-rect.el +++ b/lisp/emulation/cua-rect.el | |||
| @@ -731,7 +731,7 @@ If command is repeated at same position, delete the rectangle." | |||
| 731 | 731 | ||
| 732 | (defun cua--deactivate-rectangle () | 732 | (defun cua--deactivate-rectangle () |
| 733 | ;; This is used to clean up after `cua--activate-rectangle'. | 733 | ;; This is used to clean up after `cua--activate-rectangle'. |
| 734 | (mapcar (function delete-overlay) cua--rectangle-overlays) | 734 | (mapc (function delete-overlay) cua--rectangle-overlays) |
| 735 | (setq cua--last-rectangle (cons (current-buffer) | 735 | (setq cua--last-rectangle (cons (current-buffer) |
| 736 | (cons (point) ;; cua-save-point | 736 | (cons (point) ;; cua-save-point |
| 737 | cua--rectangle)) | 737 | cua--rectangle)) |
| @@ -837,7 +837,7 @@ If command is repeated at same position, delete the rectangle." | |||
| 837 | (overlay-put overlay 'window (selected-window)) | 837 | (overlay-put overlay 'window (selected-window)) |
| 838 | (setq new (cons overlay new)))))) | 838 | (setq new (cons overlay new)))))) |
| 839 | ;; Trim old trailing overlays. | 839 | ;; Trim old trailing overlays. |
| 840 | (mapcar (function delete-overlay) old) | 840 | (mapc (function delete-overlay) old) |
| 841 | (setq cua--rectangle-overlays (nreverse new)))) | 841 | (setq cua--rectangle-overlays (nreverse new)))) |
| 842 | 842 | ||
| 843 | (defun cua--indent-rectangle (&optional ch to-col clear) | 843 | (defun cua--indent-rectangle (&optional ch to-col clear) |
| @@ -1401,7 +1401,7 @@ With prefix arg, indent to that column." | |||
| 1401 | (cua--deactivate-rectangle)) | 1401 | (cua--deactivate-rectangle)) |
| 1402 | (when cua--rectangle-overlays | 1402 | (when cua--rectangle-overlays |
| 1403 | ;; clean-up after revert-buffer | 1403 | ;; clean-up after revert-buffer |
| 1404 | (mapcar (function delete-overlay) cua--rectangle-overlays) | 1404 | (mapc (function delete-overlay) cua--rectangle-overlays) |
| 1405 | (setq cua--rectangle-overlays nil) | 1405 | (setq cua--rectangle-overlays nil) |
| 1406 | (setq deactivate-mark t))) | 1406 | (setq deactivate-mark t))) |
| 1407 | (when cua--rect-undo-set-point | 1407 | (when cua--rect-undo-set-point |