aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog17
-rw-r--r--src/callint.c5
-rw-r--r--src/macmenu.c3
-rw-r--r--src/process.c2
-rw-r--r--src/w32fns.c3
-rw-r--r--src/xdisp.c18
6 files changed, 44 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 952f9d7e6e8..be2c5824f51 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,20 @@
12007-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * process.c (make_process): Initialize pty_flag to Qnil instead of 0
4 as it is not a bit field on Emacs 22 yet.
5
6 * xdisp.c (phys_cursor_in_rect_p): Check if cursor is in fringe area.
7
82007-12-22 Eli Zaretskii <eliz@gnu.org>
9
10 * callint.c (syms_of_callint) <command-history>: Add reference to
11 history-length in the doc string.
12
132007-12-17 Jason Rumney <jasonr@gnu.org>
14
15 * w32fns.c (w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned
16 before passing as wParam.
17
12007-12-22 Michael Albinus <michael.albinus@gmx.de> 182007-12-22 Michael Albinus <michael.albinus@gmx.de>
2 19
3 * dbusbind.c (xd_retrieve_arg): Handle DBUS_TYPE_BYTE, 20 * dbusbind.c (xd_retrieve_arg): Handle DBUS_TYPE_BYTE,
diff --git a/src/callint.c b/src/callint.c
index a19c424c899..2ac53105afb 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -941,7 +941,10 @@ This is what `(interactive \"P\")' returns. */);
941 941
942 DEFVAR_LISP ("command-history", &Vcommand_history, 942 DEFVAR_LISP ("command-history", &Vcommand_history,
943 doc: /* List of recent commands that read arguments from terminal. 943 doc: /* List of recent commands that read arguments from terminal.
944Each command is represented as a form to evaluate. */); 944Each command is represented as a form to evaluate.
945
946Maximum length of the history list is determined by the value
947of `history-length', which see. */);
945 Vcommand_history = Qnil; 948 Vcommand_history = Qnil;
946 949
947 DEFVAR_LISP ("command-debug-status", &Vcommand_debug_status, 950 DEFVAR_LISP ("command-debug-status", &Vcommand_debug_status,
diff --git a/src/macmenu.c b/src/macmenu.c
index aa0be0bdc2e..616d136465a 100644
--- a/src/macmenu.c
+++ b/src/macmenu.c
@@ -3272,7 +3272,8 @@ fill_menubar (wv, deep_p)
3272 } 3272 }
3273#endif /* !TARGET_API_MAC_CARBON */ 3273#endif /* !TARGET_API_MAC_CARBON */
3274 } 3274 }
3275 else 3275
3276 if (!menu)
3276 { 3277 {
3277#if TARGET_API_MAC_CARBON 3278#if TARGET_API_MAC_CARBON
3278 err = CreateNewMenu (id, 0, &menu); 3279 err = CreateNewMenu (id, 0, &menu);
diff --git a/src/process.c b/src/process.c
index 0204388e672..e285ed4bde0 100644
--- a/src/process.c
+++ b/src/process.c
@@ -631,7 +631,7 @@ make_process (name)
631 p->tick = 0; 631 p->tick = 0;
632 p->update_tick = 0; 632 p->update_tick = 0;
633 p->pid = 0; 633 p->pid = 0;
634 p->pty_flag = 0; 634 p->pty_flag = Qnil;
635 p->raw_status_new = 0; 635 p->raw_status_new = 0;
636 p->status = Qrun; 636 p->status = Qrun;
637 p->mark = Fmake_marker (); 637 p->mark = Fmake_marker ();
diff --git a/src/w32fns.c b/src/w32fns.c
index 0c5bd1e4cc3..497010e9ad3 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -3130,7 +3130,8 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
3130 { 3130 {
3131 /* Forward asciified character sequence. */ 3131 /* Forward asciified character sequence. */
3132 post_character_message 3132 post_character_message
3133 (hwnd, WM_CHAR, key.uChar.AsciiChar, lParam, 3133 (hwnd, WM_CHAR,
3134 (unsigned char) key.uChar.AsciiChar, lParam,
3134 w32_get_key_modifiers (wParam, lParam)); 3135 w32_get_key_modifiers (wParam, lParam));
3135 w32_kbd_patch_key (&key); 3136 w32_kbd_patch_key (&key);
3136 } 3137 }
diff --git a/src/xdisp.c b/src/xdisp.c
index 22f51859eff..c352c9355ae 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -23534,6 +23534,24 @@ phys_cursor_in_rect_p (w, r)
23534{ 23534{
23535 XRectangle cr, result; 23535 XRectangle cr, result;
23536 struct glyph *cursor_glyph; 23536 struct glyph *cursor_glyph;
23537 struct glyph_row *row;
23538
23539 if (w->phys_cursor.vpos >= 0
23540 && w->phys_cursor.vpos < w->current_matrix->nrows
23541 && (row = MATRIX_ROW (w->current_matrix, w->phys_cursor.vpos),
23542 row->enabled_p)
23543 && row->cursor_in_fringe_p)
23544 {
23545 /* Cursor is in the fringe. */
23546 cr.x = window_box_right_offset (w,
23547 (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (w)
23548 ? RIGHT_MARGIN_AREA
23549 : TEXT_AREA));
23550 cr.y = row->y;
23551 cr.width = WINDOW_RIGHT_FRINGE_WIDTH (w);
23552 cr.height = row->height;
23553 return x_intersect_rectangles (&cr, r, &result);
23554 }
23537 23555
23538 cursor_glyph = get_phys_cursor_glyph (w); 23556 cursor_glyph = get_phys_cursor_glyph (w);
23539 if (cursor_glyph) 23557 if (cursor_glyph)