summaryrefslogtreecommitdiff
path: root/lisp/tabify.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/tabify.el')
-rw-r--r--lisp/tabify.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/tabify.el b/lisp/tabify.el
index cccc99ea1a5..266dd3953b1 100644
--- a/lisp/tabify.el
+++ b/lisp/tabify.el
@@ -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))