(untabify): Don't really change where restriction starts.

This commit is contained in:
Richard M. Stallman 1993-04-07 04:27:30 +00:00
parent 63ea14a5b2
commit 5119b4121e

View file

@ -36,7 +36,7 @@ The variable `tab-width' controls the spacing of tab stops."
(interactive "r")
(save-excursion
(save-restriction
(narrow-to-region start end)
(narrow-to-region (point-min) end)
(goto-char start)
(while (search-forward "\t" nil t) ; faster than re-search
(let ((start (point))