emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/window.c


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/window.c
Date: Mon, 20 Mar 2006 22:22:28 +0000

Index: emacs/src/window.c
diff -u emacs/src/window.c:1.539 emacs/src/window.c:1.540
--- emacs/src/window.c:1.539    Sat Mar 11 16:46:38 2006
+++ emacs/src/window.c  Mon Mar 20 22:22:25 2006
@@ -4796,8 +4796,8 @@
         possibility of point becoming "stuck" on a tall line when
         scrolling by one line.  */
       if (window_scroll_pixel_based_preserve_y < 0
-         || (current_kboard->Vlast_command != Qscroll_up
-             && current_kboard->Vlast_command != Qscroll_down))
+         || (!EQ (current_kboard->Vlast_command, Qscroll_up)
+             && !EQ (current_kboard->Vlast_command, Qscroll_down)))
        {
          start_display (&it, w, start);
          move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]