From bcd983312cd9a5f9f5aec48821110aa7688b29b5 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 18 Jul 2005 21:34:41 +0000 Subject: [PATCH] (Fgenerate_new_buffer_name): Declare (for use in coding.c). --- src/ChangeLog | 44 +++++++++++++++++++++++--------------------- src/buffer.h | 5 +++-- 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 4a030a01667..55486bba6a8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-07-18 Stefan Monnier + + * buffer.h (Fgenerate_new_buffer_name): Declare (for use in coding.c). + 2005-07-18 Kim F. Storm * frame.h (struct frame): New member already_hscrolled_p. @@ -18,25 +22,23 @@ 2005-07-18 YAMAMOTO Mitsuharu - * macfns.c (x_set_cursor_color): Use XSetBackground and - XSetForeground. + * macfns.c (x_set_cursor_color): Use XSetBackground and XSetForeground. * macgui.h (struct _XGC): New struct. (GC): Use it. (GCForeground, GCBackground, GCFont): Use X11 mask values. (XCreateGC, XParseGeometry): Move externs to macterm.h. - * macterm.c (x_bitmap_icon, x_make_frame_visible): Remove - declarations. + * macterm.c (x_bitmap_icon, x_make_frame_visible): Remove declarations. (XSetFont): Add declaration. - (mac_set_forecolor, mac_set_backcolor, mac_set_colors): Remove - functions. - (GC_FORE_COLOR, GC_BACK_COLOR, GC_FONT, MAC_WINDOW_NORMAL_GC): New - defines. + (mac_set_forecolor, mac_set_backcolor, mac_set_colors): + Remove functions. + (GC_FORE_COLOR, GC_BACK_COLOR, GC_FONT, MAC_WINDOW_NORMAL_GC): + New defines. (XDrawLine, mac_draw_line_to_pixmap, XClearWindow) (mac_draw_bitmap, XCreatePixmapFromBitmapData, XFillRectangle) - (mac_draw_rectangle, mac_draw_string_common, mac_scroll_area): Use - them. + (mac_draw_rectangle, mac_draw_string_common, mac_scroll_area): + Use them. (mac_erase_rectangle): New function. (XClearArea, x_draw_fringe_bitmap, x_clear_glyph_string_rect) (x_draw_stretch_glyph_string): Use it. @@ -62,8 +64,8 @@ 2005-07-16 YAMAMOTO Mitsuharu - * mac.c [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Use - Fstring_as_unibyte instead of string_make_unibyte. + * mac.c [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): + Use Fstring_as_unibyte instead of string_make_unibyte. 2005-07-15 Richard M. Stallman @@ -101,10 +103,10 @@ 2005-07-14 Kenichi Handa * coding.c (code_convert_region_unwind): ARG is changed to a cons. - (code_convert_region): Adjusted for the above change. + (code_convert_region): Adjust for the above change. (set_conversion_work_buffer): If the work buffer is already in use, generate a new buffer and return it. Otherwise return Qnil. - (run_pre_post_conversion_on_str): Adjusted for the above change. + (run_pre_post_conversion_on_str): Adjust for the above change. (run_pre_write_conversin_on_c_str): Likewise. 2005-07-13 Kim F. Storm @@ -118,7 +120,7 @@ count rows moved over when moving to start of current row in case row starts in middle of a string or image. Also move further backward if we end up in a string or image. - (try_cursor_movement): if overlay string spans multiple lines, + (try_cursor_movement): If overlay string spans multiple lines, move backward to set cursor on start of an overlay string. (cursor_row_p): Row is ok if cursor is at newline from string, but string starts on this line (so we always position cursor at start @@ -147,22 +149,22 @@ (disable_mouse_highlight): Remove unused variable. [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click) (x_scroll_bar_handle_press, x_scroll_bar_handle_release) - (x_scroll_bar_handle_drag): Remove argument `timestamp'. All - callers changed. + (x_scroll_bar_handle_drag): Remove argument `timestamp'. + All callers changed. [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click): Don't set timestamp. [USE_CARBON_EVENTS] (mac_handle_mouse_event): Likewise. (x_scroll_bar_create, XTset_vertical_scroll_bar): Show scroll bar only when its width is less than the height. (XTredeem_scroll_bar): Sync with xterm.c. - (font_name_table, font_name_table_size, font_name_count): Make - static. + (font_name_table, font_name_table_size, font_name_count): + Make static. (drag_and_drop_file_list): Remove variable. Previous use is now local to function. (do_ae_open_documents): Move DRAG_N_DROP event construction part from XTread_socket. - (XTread_socket): Consolidate setting of event timestamp. Move - DRAG_N_DROP event construction part to do_ae_open_documents. + (XTread_socket): Consolidate setting of event timestamp. + Move DRAG_N_DROP event construction part to do_ae_open_documents. Support extra_keyboard_modifiers. * xfaces.c (try_font_list) [MAC_OS]: Try font family name diff --git a/src/buffer.h b/src/buffer.h index 8d170c87567..5ea889dfe6d 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -1,6 +1,6 @@ /* Header file for the buffer manipulation primitives. - Copyright (C) 1985,86,93,94,95,97,98,99,2000,01,03,04 - Free Software Foundation, Inc. + Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, + 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -855,6 +855,7 @@ EXFUN (Fget_file_buffer, 1); EXFUN (Fnext_overlay_change, 1); EXFUN (Fdelete_overlay, 1); EXFUN (Fbuffer_local_value, 2); +EXFUN (Fgenerate_new_buffer_name, 2); /* Functions to call before and after each text change. */ extern Lisp_Object Vbefore_change_functions; -- 2.11.4.GIT