emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/src/xdisp.c
Date: Sun, 25 Jul 2004 18:26:32 -0400

Index: emacs/src/xdisp.c
diff -c emacs/src/xdisp.c:1.897 emacs/src/xdisp.c:1.898
*** emacs/src/xdisp.c:1.897     Wed Jul 21 21:09:43 2004
--- emacs/src/xdisp.c   Sun Jul 25 22:15:03 2004
***************
*** 5738,5749 ****
  #ifdef HAVE_WINDOW_SYSTEM
                          if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it))
                            {
!                             if (!get_next_display_element (it)
!                                 || BUFFER_POS_REACHED_P ())
                                {
                                  result = MOVE_POS_MATCH_OR_ZV;
                                  break;
                                }
                              if (ITERATOR_AT_END_OF_LINE_P (it))
                                {
                                  result = MOVE_NEWLINE_OR_CR;
--- 5738,5756 ----
  #ifdef HAVE_WINDOW_SYSTEM
                          if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it))
                            {
!                             if (!get_next_display_element (it))
                                {
                                  result = MOVE_POS_MATCH_OR_ZV;
                                  break;
                                }
+                             if (BUFFER_POS_REACHED_P ())
+                               {
+                                 if (ITERATOR_AT_END_OF_LINE_P (it))
+                                   result = MOVE_POS_MATCH_OR_ZV;
+                                 else
+                                   result = MOVE_LINE_CONTINUED;
+                                 break;
+                               }
                              if (ITERATOR_AT_END_OF_LINE_P (it))
                                {
                                  result = MOVE_NEWLINE_OR_CR;




reply via email to

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