]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fforward_comment): Detect generic comment at beginning of
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 1 May 2006 13:09:24 +0000 (13:09 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 1 May 2006 13:09:24 +0000 (13:09 +0000)
buffer when moving backwards.

src/ChangeLog
src/syntax.c

index b8495387311c31cd1c2e2d29dbd4acb186b6a6c5..3c6efb16308d985079b9e6e1dc1f67199f753bcc 100644 (file)
@@ -1,19 +1,24 @@
+2006-05-01  Martin Rudalics  <rudalics@gmx.at>
+
+       * syntax.c (Fforward_comment): Detect generic comment at beginning of
+       buffer when moving backwards.
+
 2006-05-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * dispnew.c (update_window): Don't set changed_p when mode/header
        line is updated.
 
        * xdisp.c (prepare_menu_bars) [MAC_OS]: Call mac_update_title_bar.
-       (get_glyph_face_and_encoding, get_char_face_and_encoding): Don't
-       distinguish known faces from others.
+       (get_glyph_face_and_encoding, get_char_face_and_encoding):
+       Don't distinguish known faces from others.
 
        * mac.c (mac_coerce_file_name_ptr): Try typeFSRef if coercion
        through typeFileURL failed.
 
        * macfns.c (mac_update_title_bar): New function.
        [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): New function.
-       (show_hourglass, hide_hourglass) [USE_CG_DRAWING]: Call
-       mac_prepare_for_quickdraw.
+       (show_hourglass, hide_hourglass) [USE_CG_DRAWING]:
+       Call mac_prepare_for_quickdraw.
 
        * macgui.h (USE_ATSUI): Set default to 1 if MAC_OSX is defined.
        (USE_CG_DRAWING): Don't define if compiled on Mac OS X 10.1.
@@ -24,8 +29,8 @@
        (struct MacFontStruct): Change type of member `rows'.
        (struct _XGC) [USE_CG_DRAWING]: Add member `clip_rects'.
 
-       * macterm.c (mac_draw_line, mac_draw_line_to_pixmap): Adjust
-       endpoints of strictly horizontal/vertical lines.
+       * macterm.c (mac_draw_line, mac_draw_line_to_pixmap):
+       Adjust endpoints of strictly horizontal/vertical lines.
        (mac_set_clip_rectangles) [USE_CG_DRAWING]: Set clip_rects.
        (pcm_init, pcm_get_status): New functions.
        (x_per_char_metric, XLoadQueryFont): Use them instead of
index f56bc1181c7d411bdd510acc93923799e7452322..1c8d0debbf32f307020d4736c18f549c8b18989a 100644 (file)
@@ -2123,8 +2123,6 @@ between them, return t; otherwise return nil.  */)
              while (1)
                {
                  DEC_BOTH (from, from_byte);
-                 if (from == stop)
-                   break;
                  UPDATE_SYNTAX_TABLE_BACKWARD (from);
                  c = FETCH_CHAR (from_byte);
                  if (SYNTAX (c) == Scomment_fence
@@ -2133,6 +2131,8 @@ between them, return t; otherwise return nil.  */)
                      found = 1;
                      break;
                    }
+                 else if (from == stop)
+                   break;
                }
              if (found == 0)
                {