1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

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.
This commit is contained in:
Eli Zaretskii 2012-11-20 19:44:04 +02:00
parent 9aef4c1281
commit 7cf95797af
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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)