Commit 7cf95797 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix bug #12927 with scrolling under hl-line-mode and scroll-conservatively.

 lisp/simple.el (line-move): Don't call line-move-partial if
 scroll-conservatively is in effect.
parent 9aef4c12
2012-11-20 Eli Zaretskii <eliz@gnu.org>
* simple.el (line-move): Don't call line-move-partial if
scroll-conservatively is in effect. (Bug#12927)
2012-11-20 Michael Albinus <michael.albinus@gmx.de>
* net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
......
......@@ -4583,6 +4583,9 @@ lines."
(unless (and auto-window-vscroll try-vscroll
;; Only vscroll for single line moves
(= (abs arg) 1)
;; Under scroll-conservatively, the display engine
;; does this better.
(zerop scroll-conservatively)
;; But don't vscroll in a keyboard macro.
(not defining-kbd-macro)
(not executing-kbd-macro)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment