aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2006-05-01 13:09:24 +0000
committerStefan Monnier2006-05-01 13:09:24 +0000
commitfcdd45857005869fe14081dc783fe4ba6ac66d01 (patch)
tree0fb4640da06c3dbb86dca7770cbcc9ff9e2e6cc2 /src
parent5fed8c15b8c8a74c5e0d0e76baa7f66be96267b6 (diff)
downloademacs-fcdd45857005869fe14081dc783fe4ba6ac66d01.tar.gz
emacs-fcdd45857005869fe14081dc783fe4ba6ac66d01.zip
(Fforward_comment): Detect generic comment at beginning of
buffer when moving backwards.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog17
-rw-r--r--src/syntax.c4
2 files changed, 13 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b8495387311..3c6efb16308 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,19 +1,24 @@
12006-05-01 Martin Rudalics <rudalics@gmx.at>
2
3 * syntax.c (Fforward_comment): Detect generic comment at beginning of
4 buffer when moving backwards.
5
12006-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 62006-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 7
3 * dispnew.c (update_window): Don't set changed_p when mode/header 8 * dispnew.c (update_window): Don't set changed_p when mode/header
4 line is updated. 9 line is updated.
5 10
6 * xdisp.c (prepare_menu_bars) [MAC_OS]: Call mac_update_title_bar. 11 * xdisp.c (prepare_menu_bars) [MAC_OS]: Call mac_update_title_bar.
7 (get_glyph_face_and_encoding, get_char_face_and_encoding): Don't 12 (get_glyph_face_and_encoding, get_char_face_and_encoding):
8 distinguish known faces from others. 13 Don't distinguish known faces from others.
9 14
10 * mac.c (mac_coerce_file_name_ptr): Try typeFSRef if coercion 15 * mac.c (mac_coerce_file_name_ptr): Try typeFSRef if coercion
11 through typeFileURL failed. 16 through typeFileURL failed.
12 17
13 * macfns.c (mac_update_title_bar): New function. 18 * macfns.c (mac_update_title_bar): New function.
14 [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): New function. 19 [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): New function.
15 (show_hourglass, hide_hourglass) [USE_CG_DRAWING]: Call 20 (show_hourglass, hide_hourglass) [USE_CG_DRAWING]:
16 mac_prepare_for_quickdraw. 21 Call mac_prepare_for_quickdraw.
17 22
18 * macgui.h (USE_ATSUI): Set default to 1 if MAC_OSX is defined. 23 * macgui.h (USE_ATSUI): Set default to 1 if MAC_OSX is defined.
19 (USE_CG_DRAWING): Don't define if compiled on Mac OS X 10.1. 24 (USE_CG_DRAWING): Don't define if compiled on Mac OS X 10.1.
@@ -24,8 +29,8 @@
24 (struct MacFontStruct): Change type of member `rows'. 29 (struct MacFontStruct): Change type of member `rows'.
25 (struct _XGC) [USE_CG_DRAWING]: Add member `clip_rects'. 30 (struct _XGC) [USE_CG_DRAWING]: Add member `clip_rects'.
26 31
27 * macterm.c (mac_draw_line, mac_draw_line_to_pixmap): Adjust 32 * macterm.c (mac_draw_line, mac_draw_line_to_pixmap):
28 endpoints of strictly horizontal/vertical lines. 33 Adjust endpoints of strictly horizontal/vertical lines.
29 (mac_set_clip_rectangles) [USE_CG_DRAWING]: Set clip_rects. 34 (mac_set_clip_rectangles) [USE_CG_DRAWING]: Set clip_rects.
30 (pcm_init, pcm_get_status): New functions. 35 (pcm_init, pcm_get_status): New functions.
31 (x_per_char_metric, XLoadQueryFont): Use them instead of 36 (x_per_char_metric, XLoadQueryFont): Use them instead of
diff --git a/src/syntax.c b/src/syntax.c
index f56bc1181c7..1c8d0debbf3 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -2123,8 +2123,6 @@ between them, return t; otherwise return nil. */)
2123 while (1) 2123 while (1)
2124 { 2124 {
2125 DEC_BOTH (from, from_byte); 2125 DEC_BOTH (from, from_byte);
2126 if (from == stop)
2127 break;
2128 UPDATE_SYNTAX_TABLE_BACKWARD (from); 2126 UPDATE_SYNTAX_TABLE_BACKWARD (from);
2129 c = FETCH_CHAR (from_byte); 2127 c = FETCH_CHAR (from_byte);
2130 if (SYNTAX (c) == Scomment_fence 2128 if (SYNTAX (c) == Scomment_fence
@@ -2133,6 +2131,8 @@ between them, return t; otherwise return nil. */)
2133 found = 1; 2131 found = 1;
2134 break; 2132 break;
2135 } 2133 }
2134 else if (from == stop)
2135 break;
2136 } 2136 }
2137 if (found == 0) 2137 if (found == 0)
2138 { 2138 {