Commit 7981d89f authored by Miles Bader's avatar Miles Bader
Browse files

(delete-trailing-whitespace): Remove extraneous let.

parent 4c4b227a
2000-12-16 Miles Bader <miles@gnu.org>
* simple.el (delete-trailing-whitespace): Remove extraneous let.
2000-12-15 Miles Bader <miles@gnu.org>
* comint.el (comint-send-string, comint-send-region): Also accept
......
......@@ -232,11 +232,10 @@ This respects narrowing, created by \\[narrow-to-region] and friends."
(interactive "*")
(save-match-data
(save-excursion
(let (eol bol)
(goto-char (point-min))
(while (re-search-forward "\\s-$" nil t)
(skip-syntax-backward "-" (save-excursion (forward-line 0) (point)))
(delete-region (point) (match-end 0)))))))
(delete-region (point) (match-end 0))))))
(defun newline-and-indent ()
"Insert a newline, then indent according to major mode.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment