Mercurial > emacs
comparison lisp/rect.el @ 23641:b13886e06eb2
(delete-whitespace-rectangle): close-rectangle renamed.
(close-rectangle): Define as alias.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 05 Nov 1998 19:12:21 +0000 |
parents | 6c4756ecd4a2 |
children | 717a33da04a1 |
comparison
equal
deleted
inserted
replaced
23640:51102c1dc0c3 | 23641:b13886e06eb2 |
---|---|
204 (delete-region startpos (point)) | 204 (delete-region startpos (point)) |
205 ;; Open the desired width, plus same amount of whitespace we just deleted. | 205 ;; Open the desired width, plus same amount of whitespace we just deleted. |
206 (indent-to (+ endcol whitewidth)))) | 206 (indent-to (+ endcol whitewidth)))) |
207 | 207 |
208 ;;;###autoload | 208 ;;;###autoload |
209 (defun close-rectangle (start end) | 209 (defalias 'close-rectangle 'delete-whitespace-rectangle) ;; Old name |
210 (defun delete-whitespace-rectangle (start end) | |
210 "Delete all whitespace following a specified column in each line. | 211 "Delete all whitespace following a specified column in each line. |
211 The left edge of the rectangle specifies the position in each line | 212 The left edge of the rectangle specifies the position in each line |
212 at which whitespace deletion should begin. On each line in the | 213 at which whitespace deletion should begin. On each line in the |
213 rectangle, all continuous whitespace starting at that column is deleted." | 214 rectangle, all continuous whitespace starting at that column is deleted." |
214 (interactive "r") | 215 (interactive "r") |