diff options
Diffstat (limited to 'lisp/tabify.el')
-rw-r--r-- | lisp/tabify.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/tabify.el b/lisp/tabify.el index ac2004dccda..16e65bddcde 100644 --- a/lisp/tabify.el +++ b/lisp/tabify.el @@ -39,11 +39,11 @@ The variable `tab-width' controls the spacing of tab stops." (narrow-to-region (point-min) end) (goto-char start) (while (search-forward "\t" nil t) ; faster than re-search - (let ((start (point)) + (let ((tab-beg (point)) (column (current-column)) (indent-tabs-mode nil)) - (skip-chars-backward "\t") - (delete-region start (point)) + (skip-chars-backward "\t" start) + (delete-region tab-beg (point)) (indent-to column)))))) ;;;###autoload |