Skip to content

Commit

Permalink
swiper.el (swiper--line): Don't replace tabs with spaces
Browse files Browse the repository at this point in the history
The original intent, I think was the alignment in the minibuffer in
case of mixed tabs and spaces.

But doing that prevents `wgrep' from working correctly for files with
tabs.

Fixes #1468
  • Loading branch information
abo-abo committed Mar 6, 2018
1 parent 6f41412 commit b8e2e2a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions swiper.el
Expand Up @@ -339,9 +339,7 @@

(concat
" "
(replace-regexp-in-string
"\t" " "
(buffer-substring beg end)))))
(buffer-substring beg end))))

(declare-function outline-show-all "outline")

Expand Down

0 comments on commit b8e2e2a

Please sign in to comment.