diff options
| author | Dave Love | 2000-07-18 12:50:38 +0000 |
|---|---|---|
| committer | Dave Love | 2000-07-18 12:50:38 +0000 |
| commit | 74be0ade4cc437f9619e6f71d3a5037be3ea67eb (patch) | |
| tree | 7836199dad8e01cfa3bebdd3b511b5c3aeeb8dcc | |
| parent | f164d9b5222f1112042ef0c31325ffab09b00ce1 (diff) | |
| download | emacs-74be0ade4cc437f9619e6f71d3a5037be3ea67eb.tar.gz emacs-74be0ade4cc437f9619e6f71d3a5037be3ea67eb.zip | |
(open-rectangle-line): Remove unused let.
| -rw-r--r-- | lisp/rect.el | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lisp/rect.el b/lisp/rect.el index 97fa980d1a6..a48b0e650ce 100644 --- a/lisp/rect.el +++ b/lisp/rect.el | |||
| @@ -58,7 +58,7 @@ the desired column only if the line is long enough." | |||
| 58 | ;; to accumulate them for extract-rectangle and delete-extract-rectangle. | 58 | ;; to accumulate them for extract-rectangle and delete-extract-rectangle. |
| 59 | (defvar operate-on-rectangle-lines) | 59 | (defvar operate-on-rectangle-lines) |
| 60 | 60 | ||
| 61 | ;; ### NOTE: this function is untouched, but not used anymore appart in | 61 | ;; ### NOTE: this function is untouched, but not used anymore apart from |
| 62 | ;; `delete-whitespace-rectangle'. `apply-on-rectangle' is used instead. --dv | 62 | ;; `delete-whitespace-rectangle'. `apply-on-rectangle' is used instead. --dv |
| 63 | (defun operate-on-rectangle (function start end coerce-tabs) | 63 | (defun operate-on-rectangle (function start end coerce-tabs) |
| 64 | "Call FUNCTION for each line of rectangle with corners at START, END. | 64 | "Call FUNCTION for each line of rectangle with corners at START, END. |
| @@ -297,12 +297,10 @@ on the right side of the rectangle." | |||
| 297 | (goto-char start)) | 297 | (goto-char start)) |
| 298 | 298 | ||
| 299 | (defun open-rectangle-line (startcol endcol fill) | 299 | (defun open-rectangle-line (startcol endcol fill) |
| 300 | (let (spaces) | 300 | (when (= (move-to-column-force startcol (or fill 'coerce)) startcol) |
| 301 | (when (= (move-to-column-force startcol (or fill 'coerce)) startcol) | 301 | (unless (and (not fill) |
| 302 | (unless (and (not fill) | 302 | (= (point) (point-at-eol))) |
| 303 | (= (point) (point-at-eol))) | 303 | (indent-to endcol)))) |
| 304 | (indent-to endcol))) | ||
| 305 | )) | ||
| 306 | 304 | ||
| 307 | (defun delete-whitespace-rectangle-line (startcol endcol fill) | 305 | (defun delete-whitespace-rectangle-line (startcol endcol fill) |
| 308 | (when (= (move-to-column-force startcol (or fill 'coerce)) startcol) | 306 | (when (= (move-to-column-force startcol (or fill 'coerce)) startcol) |