branch: master commit fa49a81f6e6ed1e8e7573f95c68853298213bd68 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
Fix "End of buffer" for swiper and visual-line-mode Fixes #247 --- swiper.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/swiper.el b/swiper.el index 9e70265..19d0a59 100644 --- a/swiper.el +++ b/swiper.el @@ -196,7 +196,7 @@ (format "%%-%dd " swiper--width)) (let ((line-number 0) (advancer (if visual-line-mode - #'line-move + (lambda (arg) (line-move arg t)) #'forward-line)) candidates) (save-excursion