Fix EOLs broken with last commit.
[bpt/emacs.git] / src / ChangeLog
index fb35155..f1fadd2 100644 (file)
@@ -1,7 +1,524 @@
+2008-11-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xterm.c (x_draw_glyph_string): For stretch glyphs, don't call
+       x_draw_glyph_string_background.
+
+       * w32term.c (x_draw_glyph_string): Likewise.
+
+2008-11-15  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xterm.c (x_draw_glyph_string): Stop drawing the background of
+       the next glyph string once past the overhang width.
+
+       * nsterm.m (ns_draw_glyph_string): Likewise.
+
+       * w32term.c (x_draw_glyph_string): Likewise.
+
+2008-11-14  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
+
+       * fileio.c (Finsert_file_contents): Decrement specpdl_ptr to avoid
+       double file close.
+
+2008-11-14  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (window_loop): In DELETE_BUFFER_WINDOWS case, reset
+       dedicated status of window before attempting to display another
+       buffer in it.
+
+2008-11-14  Juanma Barranquero  <lekktu@gmail.com>
+
+       * msdos.c (Fmsdos_long_file_names):
+       (syms_of_msdos) <dos-unsupported-char-glyph>:
+       * dosfns.c (Fint86): Fix typos in docstrings.
+
+2008-11-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in (OBJ1, WIN32OBJ): Fix whitespace.
+
+2008-11-14  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * puresize.h (BASE_PURESIZE): Increase to 1260000.
+
+2008-11-12  Michal Nazarewicz  <mina86@tlen.pl>  (tiny change)
+
+       * frame.c (x_set_alpha): Set alpha to -1 if nil given.
+
+       * frame.h: Negative alpha means "don't touch".
+
+       * w32term.c (x_set_frame_alpha): Do nothing if alpha is negative.
+
+       * xterm.c (x_set_frame_alpha): Do nothing if alpha is negative.
+
+2008-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * hftctl.c:
+       * chpdef.h:
+       * acldef.h: Remove files used only for systems no longer supported.
+
+       * Makefile.in: Fix .o alphabetical ordering.
+       (hftctl.o): Remove dependency, file removed.
+       (keymap.o, print.o): Depend on charset.h.
+
+2008-11-10  Kenichi Handa  <handa@m17n.org>
+
+       * character.c (Fget_byte): Fix and make it faster for unibyte
+       target.
+
+2008-11-08  Chong Yidong  <cyd@stupidchicken.com>
+
+       * dired.c (file_name_completion): If completion_ignore_case is
+       enabled, ignore case when checking completion-regexp-list.
+
+2008-11-08  Eli Zaretskii  <eliz@gnu.org>
+
+       * vm-limit.c (get_lim_data): Fix last change.
+
+2008-11-08  Kenichi Handa  <handa@m17n.org>
+
+       * character.c (Fget_byte): New function.
+       (syms_of_character): Defsubr Fget_byte.
+
+2008-11-07  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (try_window_reusing_current_matrix): Ensure that window
+       cursor position is valid after scrolling.
+
+2008-11-06  Juanma Barranquero  <lekktu@gmail.com>
+
+       * fns.c (Frandom): Rename arg N to LIMIT to match the docs; doc fix.
+
+2008-11-06  Glenn Morris  <rgm@gnu.org>
+
+       * xterm.c (handle_one_xevent): Don't let popup menus cause
+       mouse-autoselect-window related window switching.  (Bug#1261)
+
+2008-11-04  David Smith  <davidsmith@acm.org>  (tiny change)
+
+       * xterm.c (xim_close_dpy): Avoid double-free on X11R6 XIM.
+
+2008-11-04  Andreas Schwab  <schwab@suse.de>
+
+       * xfns.c (Fx_wm_set_size_hint): Add missing return value.
+
+2008-11-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfns.c (Fx_wm_set_size_hint): New function.
+
+2008-11-03  Martin Rudalics  <rudalics@gmx.at>
+
+       * textprop.c (Fprevious_single_char_property_change): Return 0
+       when there's no change in a string.  (Bug#1301)
+
+2008-11-02  Martin Rudalics  <rudalics@gmx.at>
+
+       * frame.c (do_switch_frame): New argument NORECORD passed to
+       Fselect_window.
+       (Fselect_frame): New argument NORECORD passed to
+       do_switch_frame.
+       (Fset_frame_selected_window): New argument NORECORD passed to
+       Fselect_frame.
+       (Fhandle_switch_frame, Fdelete_frame): Handle NORECORD argument
+       in call of do_switch_frame.
+       (Fset_mouse_position, Fset_mouse_pixel_position, Fraise_frame):
+       Handle NORECORD argument in call of Fselect_frame.
+       * lisp.h (do_switch_frame, Fselect_frame)
+       (Fset_frame_selected_window): Adjust declarations.
+       * window.c (select_frame_norecord): New function.
+       (run_window_configuration_change_hook): Use it and call
+       Fselect_frame with NORECORD set.
+       (Fselect_window): Pass NORECORD to Fselect_frame.
+       (Fset_window_configuration): Handle NORECORD argument in call of
+       do_switch_frame.
+       * minibuf.c (choose_minibuf_frame): Handle NORECORD in call of
+       Fset_frame_selected_window.
+       * keyboard.c (command_loop_1): Handle NORECORD in call of
+       Fselect_frame (currently ifdefd).
+
+2008-11-02  Ulrich Mueller  <ulm@kph.uni-mainz.de>
+
+       * emacs.c (USAGE2): Untabify.
+
+2008-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * composite.c (fill_gstring_header): Fix copy/paste typo.
+
+2008-10-31  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Fnext_window, Fprevious_window): Rewrite doc-string.
+       (Fother_window): Rename argument and rewrite doc-string.
+       (select_window_norecord): Fix return value.  (Bug#1276)
+
+2008-10-30  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32fns.c (x_create_tip_frame): Prevent default foreground color for
+       new frames overriding foreground for tooltips.  Based on similar patch
+       from Martin Rudalics <rudalics@gmx.at>.  (Bug#1032)
+
+2008-10-29  Chong Yidong  <cyd@stupidchicken.com>
+
+       * emacs.c (Fdaemon_initialized): Initialize nfd.
+
+2008-10-29  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Fwindow_height, Fdelete_window, set_window_buffer)
+       (Fwindow_text_height): Clarify doc-strings.
+       * xdisp.c (syms_of_xdisp): Mention set-window-buffer in
+       doc-string of window-scroll-functions.
+
+2008-10-28  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * category.c (syms_of_category): Fix typo in docstring.
+
+2008-10-28  Juanma Barranquero  <lekktu@gmail.com>
+
+       * window.c (Fwindowp, Fwindow_live_p, Fwindow_minibuffer_p)
+       (Fcoordinates_in_window_p, Fscroll_left, Fscroll_right):
+       Fix typos in docstrings.
+
+2008-10-28  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * emacs.c (daemon_pipe): Make non-static.
+       (IS_DAEMON): Move definition ...
+       * lisp.h (IS_DAEMON): ... here.
+       (daemon_pipe): Declare.
+       (is_daemon): Remove.
+       * dispnew.c (init_display): Use IS_DAEMON.
+
+2008-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xdisp.c (pos_visible_p, redisplay_internal, message3_nolog)
+       (message2_nolog): Check FRAME_INITIAL_P instead of noninteractively.
+
+       * emacs.c (is_daemon): Remove.
+       (main): Don't set is_daemon.
+       (IS_DAEMON): New macro.
+       (Fdaemonp, Fdaemon_initialized): Use it.
+       (Fdaemon_initialized): Write a char into the pipe to make sure the
+       parent exits.
+       (syms_of_emacs): Explicitly initialize daemon_pipe[1].
+
+2008-10-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nsterm.m (ns_draw_window_cursor): When hbar cursor is on
+       over-sized glyph, draw it with the default glyph width.
+
+       * w32term.c (x_draw_bar_cursor): When hbar cursor is on over-sized
+       glyph, draw it with the default glyph width.
+
+       * xterm.c (x_draw_bar_cursor): When hbar cursor is on over-sized
+       glyph, draw it with the default glyph width.
+
+       * xdisp.c (try_scrolling): When computing the distance from the
+       scroll margin to PT, try moving some distance past the window
+       bottom before giving up.
+
+2008-10-27  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Fwindow_dedicated_p, Fset_window_dedicated_p)
+       (Fset_window_buffer): Explain in doc-string that a window can be
+       "strongly" dedicated to its buffer.
+
+2008-10-27  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * emacs.c (daemon_name): New variable.
+       (main): Deal with --daemon=SERVER_NAME.
+       (Fdaemonp): Return a name if one was passed to --daemon.
+
+2008-10-26  Romain Francoise  <romain@orebokech.com>
+
+       * emacs.c (daemon_pipe): New variable.
+       (main): Create a pipe before forking, make the parent exit only after
+       the child has closed its end of the pipe.  Move closing the
+       descriptors ...
+       (Fdaemon_initialized): ... here.  New function.
+
+2008-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * chartab.c (Foptimize_char_table): Make sure `ascii' doesn't point to
+       the previous unoptimized table.
+
+       * window.c (Fset_window_buffer): Undo 2008-10-18 change to re-instate
+       the distinction between non-nil and non-t value of `dedicated'.
+
+2008-10-25  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keyboard.c (read_char_minibuf_menu_prompt): Ensure that
+       read_char_minibuf_menu_text is large enough to hold the menu string.
+
+2008-10-25  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Fget_buffer_window, Fdelete_windows_on)
+       (Freplace_buffer_in_windows): Make buffer argument optional and
+       rename to buffer_or_name.
+
+2008-10-24  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (handle_single_display_spec, handle_display_prop):
+       Undo 2005-05-16 change.
+       (handle_stop): Pop iterator if it's loaded with an empty string.
+       (get_overlay_strings_1): Don't save iterator if it's loaded with
+       an empty string (bug#1201).
+
+2008-10-24  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (ftfont_otf_features): Fix previous change.
+       (ftfont_otf_capability): Check FeatureList.FeatureCount before
+       calling ftfont_otf_features.
+
+2008-10-24  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_match_p): Fix for the case that a vector of
+       characters is in script-representative-chars.
+
+2008-10-24  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (xd_in_read_queued_messages): New variable.
+       (XD_SIGNAL1, XD_SIGNAL2, XD_SIGNAL3): New macros.  Throw Qdbus_error.
+       (xd_read_queued_messages): Catch Qdbus_error from the macros.
+       (all): Replace xsignal1, xsignal2, xsignal3 by the respective
+       macro.  (Bug#1186).
+
+2008-10-23  Ali Bahrami  <ali_gnu@emvision.com>  (tiny change)
+
+       * s/sol2-10.h: New file.
+
+2008-10-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * xdisp.c (fill_glyph_string): Fix typo in source (though the
+       poor beast has survived 9+ years and the jump from xterm.c!).
+
+2008-10-23  Martin Rudalics  <rudalics@gmx.at>
+
+       * buffer.c (Fget_buffer_create): Rename arg to buffer_or_name.
+       Reword doc-string.
+       (Fbury_buffer): In doc-string say what happens to the buffer's window.
+
+2008-10-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * character.c (syms_of_character) <script-representative-chars>:
+       <unicode-category-table>: Doc fixes.
+
+2008-10-23  Noah Friedman  <friedman@splode.com>
+
+       * coding.c (make_conversion_work_buffer): Check that
+       Vcode_conversion_reused_workbuf is a live buffer, otherwise call
+       Fget_buffer_create.
+
+2008-10-23  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_add_log): Check the values of extra properties.
+
+2008-10-22  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Fwindow_dedicated_p, Fset_window_dedicated_p):
+       Reword doc-string.
+       (Fset_window_parameter): Use NILP.
+       (Fscroll_up, Fscroll_down, Fminibuffer_selected_window)
+       (Frecenter): Use "selected" instead of "current" window in doc-strings.
+
+2008-10-22  Juanma Barranquero  <lekktu@gmail.com>
+
+       * xdisp.c (next_element_from_buffer): Remove bogus xassert condition.
+
+2008-10-22  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsfns.m (ns_appkit_version): New function.
+       (x-server-version): Use it.
+       (syms_of_nsfns): Define ns-version-string here, not nsterm.m.
+       (x-server-vendor): Don't check_ns().
+
+       * nsterm.m (syms_of_nsterm): Drop ns-version-string.
+
+2008-10-22  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32fns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert.
+       Copied from 2005-02-03 change to xfns.c by Kim F. Storm.
+
+2008-10-22  Kenichi Handa  <handa@m17n.org>
+
+       * syntax.c (scan_words): Call word_boundary_p instead of comparing
+       scripts.
+
+       * category.c (word_boundary_p): Check scripts instead of charset.
+       Handle nil value in word-separating-categories and
+       word-combining-categories.
+       (syms_of_category): Fix docstrings of word-separating-categories
+       and word-combining-categories.
+
+2008-10-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * coding.c (Fencode_coding_region, Fdecode_coding_region)
+       (Fdecode_coding_string, Fencode_coding_string): Doc fix.
+
+2008-10-21  Martin Rudalics  <rudalics@gmx.at>
+
+       * buffer.c (Fget_buffer, Fbury_buffer, switch_to_buffer_1):
+       Rename arg "buffer" to "buffer_or_name".
+       (Fkill_buffer): Rename arg "buffer" to "buffer_or_name" and make
+       it optional.
+       (no_switch_window): Remove since the return value is not used.
+       (Fswitch_to_buffer): Rename arg "buffer" to "buffer_or_name".
+       Consider window as dedicated when Fwindow_dedicated_p returns a
+       non-nil value.
+       * lisp.h: Remove prototype for no_switch_window.
+
+2008-10-21  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * emacs.c (main): Unconditionally set PER_LINUX32 and exec
+       temacs when dumping if HAVE_PERSONALITY_LINUX32 is defined
+
+2008-10-21  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (detect_coding_charset): For iso-8859-* coding systems,
+       check Vlatin_extra_code_table.
+
+2008-10-20  Eli Zaretskii  <eliz@gnu.org>
+
+       * fileio.c (Fset_file_modes): Doc fix.
+
+2008-10-19  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (XD_OBJECT_TO_DBUS_TYPE): Handle simple type symbols
+       in arrays.
+
+2008-10-19  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Fwindow_dedicated_p, Fset_window_dedicated_p):
+       Mention kill-buffer in doc-string.
+       (Fset_window_buffer): Reinsert tem check removed in last commit.
+       (Fenlarge_window, Fshrink_window): Have argument names and
+       doc-string follow Elisp manual more closely.
+
+2008-10-18  Eli Zaretskii  <eliz@gnu.org>
+
+       * fileio.c (Fset_file_modes): Doc fix.
+
+2008-10-18  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Fwindow_width, Fset_window_start)
+       (Fwindow_parameters, Fwindow_parameter, Fset_window_parameter)
+       (Fdelete_windows_on, Freplace_buffer_in_windows):
+       Make doc-strings follow code and Elisp manual more closely.
+       (Fwindow_dedicated_p): Make window argument optional.
+       (Fset_window_dedicated_p): Rename argument "arg" to "flag".
+       (Fset_window_buffer): Respect any non-nil dedicated value for
+       window.  Rename "buffer" argument to "buffer_or_name".
+
+2008-10-18  Ulrich Mueller  <ulm@gentoo.org>
+
+       * m/sh3.h: New file, machine description for SuperH.
+
+2008-10-17  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Fsplit_window): Rename arg horflag to horizontal.
+
+2008-10-17  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (ftfont_otf_features): Fix indexing
+       gsub_gpos->FeatureList.Feature.  Check the validity of indices.
+
+2008-10-16  Magnus Henoch  <mange@freemail.hu>
+
+       * dbusbind.c (Fdbus_call_method): Unbreak usage line.
+       (Fdbus_call_method_asynchronously): Ditto.
+       This change makes C-h f display the argument list.
+
+2008-10-16  Chong Yidong  <cyd@stupidchicken.com>
+
+       * fileio.c (Fexpand_file_name): Doc fix.
+
+       * xfaces.c (Finternal_set_lisp_face_attribute): Make null values
+       of :foreground and :background equivalent to unspecified (20.x
+       compatibility).
+
+2008-10-15  Eli Zaretskii  <eliz@gnu.org>
+
+       * buffer.c (syms_of_buffer): Doc fix.
+
+2008-10-14  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_clear_prop): When clearing font width, clear the
+       average width field too.
+
+2008-10-12  Andreas Schwab  <schwab@suse.de>
+
+       * ftfont.c (ftfont_shape_by_flt): Make static.
+       * ftfont.h (ftfont_shape_by_flt): Don't declare.
+
+       * font.c: Don't include <m17n-flt.h>.
+
+2008-10-10  Eli Zaretskii  <eliz@gnu.org>
+
+       * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Decrease to 10000.
+
+2008-10-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * frame.c (make_terminal_frame) [MSDOS]: Remove unused #ifdef'ed
+       away code.
+
+2008-10-09  Chong Yidong  <cyd@stupidchicken.com>
+
+       * dispnew.c (update_text_area): Avoid looping due to large glyph
+       overhangs (bug#1070).
+
+2008-10-09  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (face_for_char): If face->fontset is negative, just
+       return ascii_face.
+
+       * font.c (font_delete_unmatched): Fix previous change.
+       Don't reject an entity if DPI and AVGWIDTH of an entity are 0.
+
+2008-10-09  Martin Rudalics  <rudalics@gmx.at>
+
+       * frame.c (Fraise_frame): On text-only terminals select frame in
+       order to make it visible.  (Bug#1061)
+
+2008-10-08  Chong Yidong  <cyd@stupidchicken.com>
+
+       * fontset.c (fontset_find_font): Check frame validity.
+
+2008-10-07  Chong Yidong  <cyd@stupidchicken.com>
+
+       * gtkutil.c (xg_display_open): Reset default display if none exists.
+       (xg_display_close): Allow Emacs to close all displays (bug#985).
+
+2008-10-06  Andreas Schwab  <schwab@suse.de>
+
+       * sysdep.c (sys_signal): Always set SA_RESTART when noninteractively.
+
+2008-10-06  Chong Yidong  <cyd@stupidchicken.com>
+
+       * emacs.c (Vbefore_init_time, Vafter_init_time): Move from startup.el.
+
+       * lisp.h (Vbefore_init_time, Vafter_init_time): Declare.
+
+       * gtkutil.c (x_wm_set_size_hint): Return immediately if called
+       during initialization.
+
+2008-10-04  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (redisplay_internal): If frame switched, redisplay the
+       whole thing on MSDOS frames as well as on a TTY.
+
+       * dispnew.c (update_frame): Flush termscript for MSDOS frames as
+       well as for TTY.
+       (Fopen_termscript): Allow opening a termscript on MSDOS frames as
+       well as on a TTY.
+
+       * sysdep.c (init_sys_modes): Set FRAME_GARBAGED_P for MSDOS frames
+       as well as for TTY.
+
+       * systime.h (EMACS_TIME_CMP): Cast EMACS_SECS values to `long'.
+
+       * dispnew.c (change_frame_size_1): Set FrameRows and FrameCols for
+       MSDOS frames as well.
+
 2008-10-02  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
        * image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with
        correct arguments.
+       * menu.c (find_and_return_menu_selection) Add cast.
 
 2008-10-03  Glenn Morris  <rgm@gnu.org>
 
        (FRAME_NEW_CURSOR_COLOR): Remove.
 
        * nsfns.m (ns_set_cursor_color): Use FRAME_CURSOR_COLOR.
-       (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core emacs
+       (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core Emacs
        enumeration (HOLLOW_BOX_CURSOR, etc.).
 
        * nsterm.m (ns_frame_rehighlight): Remove commented code.
        (draw_window_cursor): Simplify code.
-       (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): Don't
-       change cursor type. In latter, call rehighlight instead of doing
+       (EmacsView-windowDidBecomeKey:,-windowDidResignKey:):
+       Don't change cursor type.  In latter, call rehighlight instead of doing
        updates manually.
-       (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): Use
-       core emacs cursor types.
+       (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel):
+       Use core Emacs cursor types.
 
        * xdisp.c (draw_glyphs): Don't call notice_overwritten_cursor() under
        NS.
 
        * nsfns.m (ns_frame_parm_handlers): Add empty entry for x_set_alpha.
 
-       * nsterm.m (EmacsApp -application:openFiles:): GNUStep does not
+       * nsterm.m (EmacsApp -application:openFiles:): GNUstep does not
        define NSApplicationDelegateReplySuccess.
        (EmacsView -converstationIdentifier): Use long instead of
-       NSInteger for GNUStep, since it doesn't have NSInteger.
+       NSInteger for GNUstep, since it doesn't have NSInteger.
 
        * xmenu.c: Revert last change.
 
 
        * Makefile.in (C_SWITCH_SITE, LD_SWITCH_SITE): Remove, unused.
        Remove all references.
-       (temacs): Add GNUStep specific ld flags.
+       (temacs): Add GNUstep specific ld flags.
 
        * nsterm.m (syms_of_nsterm): Provide ns, not ns-windowing,
        similarly to what X does.
 
        * ftfont.c (fc_charset_table): New member lang.
        (ftfont_resolve_generic_family): New arg pattern.
-       (ftfont_spec_pattern): Check fc_cahrset_table[]->lang.
+       (ftfont_spec_pattern): Check fc_charset_table[]->lang.
        (ftfont_list): Call ftfont_resolve_generic_family with `pattern'.
        (ftfont_open): Fix args to ftfont_font_format.
        (ftfont_font_format): New arg filename.
 
        * ccl.c (CCL_DECODE_CHAR, CCL_ENCODE_CHAR): New macros.
        (ccl_driver): New arg CHARSET_LIST.  Use the above macros instead
-       of DECODE_CAHR, ENCODE_CHAR, CHAR_CHARSET.
+       of DECODE_CHAR, ENCODE_CHAR, CHAR_CHARSET.
        (Fccl_execute, Fccl_execute_on_string): Call ccl_driver with the
        last arg Qnil.