aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit4
-rw-r--r--src/ChangeLog90
-rw-r--r--src/Makefile.in2
-rw-r--r--src/abbrev.c2
-rw-r--r--src/alloc.c4
-rw-r--r--src/atimer.c3
-rw-r--r--src/atimer.h3
-rw-r--r--src/blockinput.h2
-rw-r--r--src/buffer.c2
-rw-r--r--src/buffer.h2
-rw-r--r--src/bytecode.c2
-rw-r--r--src/callint.c2
-rw-r--r--src/callproc.c2
-rw-r--r--src/casefiddle.c2
-rw-r--r--src/casetab.c2
-rw-r--r--src/category.c2
-rw-r--r--src/ccl.c3
-rw-r--r--src/charset.c3
-rw-r--r--src/charset.h3
-rw-r--r--src/cm.c2
-rw-r--r--src/cm.h2
-rw-r--r--src/cmds.c2
-rw-r--r--src/coding.c3
-rw-r--r--src/coding.h3
-rw-r--r--src/commands.h2
-rw-r--r--src/composite.c3
-rw-r--r--src/composite.h3
-rw-r--r--src/config.in4
-rw-r--r--src/cxux-crt0.s3
-rw-r--r--src/data.c19
-rw-r--r--src/dired.c2
-rw-r--r--src/dispextern.h4
-rw-r--r--src/dispnew.c2
-rw-r--r--src/disptab.h3
-rw-r--r--src/doc.c6
-rw-r--r--src/doprnt.c3
-rw-r--r--src/dosfns.c2
-rw-r--r--src/dosfns.h2
-rw-r--r--src/ecrt0.c2
-rw-r--r--src/editfns.c14
-rw-r--r--src/epaths.in2
-rw-r--r--src/eval.c12
-rw-r--r--src/filelock.c2
-rw-r--r--src/filemode.c2
-rw-r--r--src/firstfile.c3
-rw-r--r--src/floatfns.c2
-rw-r--r--src/fns.c2
-rw-r--r--src/fontset.c2
-rw-r--r--src/fontset.h3
-rw-r--r--src/frame.c2
-rw-r--r--src/frame.h2
-rw-r--r--src/fringe.c2
-rw-r--r--src/getloadavg.c2
-rw-r--r--src/getpagesize.h2
-rw-r--r--src/gmalloc.c2
-rw-r--r--src/gtkutil.c2
-rw-r--r--src/gtkutil.h2
-rw-r--r--src/image.c2
-rw-r--r--src/indent.c2
-rw-r--r--src/indent.h2
-rw-r--r--src/insdel.c2
-rw-r--r--src/intervals.c2
-rw-r--r--src/intervals.h2
-rw-r--r--src/keyboard.c37
-rw-r--r--src/keyboard.h2
-rw-r--r--src/keymap.c23
-rw-r--r--src/keymap.h3
-rw-r--r--src/lastfile.c3
-rw-r--r--src/lisp.h4
-rw-r--r--src/lread.c4
-rw-r--r--src/m/7300.h3
-rw-r--r--src/m/acorn.h3
-rw-r--r--src/m/alliant-2800.h3
-rw-r--r--src/m/alliant.h2
-rw-r--r--src/m/alpha.h2
-rw-r--r--src/m/altos.h2
-rw-r--r--src/m/amdahl.h2
-rw-r--r--src/m/amdx86-64.h2
-rw-r--r--src/m/apollo.h2
-rw-r--r--src/m/arm.h3
-rw-r--r--src/m/att3b.h3
-rw-r--r--src/m/aviion.h2
-rw-r--r--src/m/celerity.h2
-rw-r--r--src/m/clipper.h2
-rw-r--r--src/m/cnvrgnt.h3
-rw-r--r--src/m/convex.h2
-rw-r--r--src/m/cydra5.h2
-rw-r--r--src/m/delta88k.h2
-rw-r--r--src/m/dpx2.h2
-rw-r--r--src/m/dual.h2
-rw-r--r--src/m/elxsi.h2
-rw-r--r--src/m/ews4800.h2
-rw-r--r--src/m/gould-np1.h3
-rw-r--r--src/m/gould.h3
-rw-r--r--src/m/hp800.h3
-rw-r--r--src/m/hp9000s300.h3
-rw-r--r--src/m/i860.h2
-rw-r--r--src/m/ia64.h3
-rw-r--r--src/m/ibm370aix.h2
-rw-r--r--src/m/ibmps2-aix.h3
-rw-r--r--src/m/ibmrs6000.h3
-rw-r--r--src/m/ibmrt-aix.h2
-rw-r--r--src/m/ibmrt.h3
-rw-r--r--src/m/ibms390.h2
-rw-r--r--src/m/intel386.h3
-rw-r--r--src/m/iris4d.h3
-rw-r--r--src/m/irist.h2
-rw-r--r--src/m/isi-ov.h2
-rw-r--r--src/m/m68k.h2
-rw-r--r--src/m/macppc.h2
-rw-r--r--src/m/masscomp.h3
-rw-r--r--src/m/mega68.h3
-rw-r--r--src/m/mg1.h3
-rw-r--r--src/m/mips-siemens.h2
-rw-r--r--src/m/mips.h2
-rw-r--r--src/m/news.h2
-rw-r--r--src/m/next.h3
-rw-r--r--src/m/nh3000.h3
-rw-r--r--src/m/nh4000.h3
-rw-r--r--src/m/ns16000.h3
-rw-r--r--src/m/ns32000.h2
-rw-r--r--src/m/nu.h3
-rw-r--r--src/m/orion.h3
-rw-r--r--src/m/orion105.h3
-rw-r--r--src/m/pfa50.h2
-rw-r--r--src/m/plexus.h3
-rw-r--r--src/m/powermac.h2
-rw-r--r--src/m/powerpcle.h3
-rw-r--r--src/m/pyramid.h2
-rw-r--r--src/m/sequent-ptx.h2
-rw-r--r--src/m/sequent.h2
-rw-r--r--src/m/sparc.h3
-rw-r--r--src/m/sps7.h2
-rw-r--r--src/m/sr2k.h3
-rw-r--r--src/m/stride.h2
-rw-r--r--src/m/sun1.h2
-rw-r--r--src/m/sun2.h2
-rw-r--r--src/m/sun386.h7
-rw-r--r--src/m/symmetry.h2
-rw-r--r--src/m/tad68k.h3
-rw-r--r--src/m/tahoe.h3
-rw-r--r--src/m/targon31.h2
-rw-r--r--src/m/tek4300.h3
-rw-r--r--src/m/tekxd88.h3
-rw-r--r--src/m/template.h2
-rw-r--r--src/m/tower32.h3
-rw-r--r--src/m/tower32v3.h3
-rw-r--r--src/m/ustation.h2
-rw-r--r--src/m/vax.h2
-rw-r--r--src/m/wicat.h3
-rw-r--r--src/m/windowsnt.h2
-rw-r--r--src/m/xps100.h2
-rw-r--r--src/mac.c2
-rw-r--r--src/macfns.c79
-rw-r--r--src/macgui.h2
-rw-r--r--src/macmenu.c2
-rw-r--r--src/macros.c2
-rw-r--r--src/macros.h3
-rw-r--r--src/macterm.c28
-rw-r--r--src/macterm.h5
-rw-r--r--src/makefile.w32-in2
-rw-r--r--src/marker.c2
-rw-r--r--src/md5.c2
-rw-r--r--src/md5.h2
-rw-r--r--src/mem-limits.h2
-rw-r--r--src/minibuf.c3
-rw-r--r--src/mktime.c2
-rw-r--r--src/msdos.c2
-rw-r--r--src/msdos.h2
-rw-r--r--src/prefix-args.c3
-rw-r--r--src/print.c2
-rw-r--r--src/process.c2
-rw-r--r--src/process.h2
-rw-r--r--src/puresize.h3
-rw-r--r--src/ralloc.c2
-rw-r--r--src/regex.h2
-rw-r--r--src/region-cache.c2
-rw-r--r--src/region-cache.h2
-rw-r--r--src/s/aix3-1.h2
-rw-r--r--src/s/bsd4-1.h2
-rw-r--r--src/s/bsd4-2.h2
-rw-r--r--src/s/bsd4-3.h2
-rw-r--r--src/s/cxux.h3
-rw-r--r--src/s/cygwin.h2
-rw-r--r--src/s/darwin.h3
-rw-r--r--src/s/dgux.h2
-rw-r--r--src/s/dgux4.h3
-rw-r--r--src/s/dgux5-4-3.h3
-rw-r--r--src/s/dgux5-4r2.h3
-rw-r--r--src/s/freebsd.h2
-rw-r--r--src/s/gnu-linux.h2
-rw-r--r--src/s/gnu.h2
-rw-r--r--src/s/hpux.h2
-rw-r--r--src/s/iris3-5.h2
-rw-r--r--src/s/iris3-6.h2
-rw-r--r--src/s/irix3-3.h2
-rw-r--r--src/s/lynxos.h2
-rw-r--r--src/s/ms-w32.h2
-rw-r--r--src/s/msdos.h2
-rw-r--r--src/s/newsos5.h2
-rw-r--r--src/s/nextstep.h2
-rw-r--r--src/s/ptx.h2
-rw-r--r--src/s/riscix1-1.h3
-rw-r--r--src/s/riscix12.h3
-rw-r--r--src/s/rtu.h2
-rw-r--r--src/s/sco4.h2
-rw-r--r--src/s/sco5.h2
-rw-r--r--src/s/template.h2
-rw-r--r--src/s/umax.h2
-rw-r--r--src/s/unipl5-2.h2
-rw-r--r--src/s/usg5-0.h2
-rw-r--r--src/s/usg5-2-2.h2
-rw-r--r--src/s/usg5-2.h2
-rw-r--r--src/s/usg5-3.h2
-rw-r--r--src/s/usg5-4.h2
-rw-r--r--src/s/vms.h3
-rw-r--r--src/s/xenix.h2
-rw-r--r--src/scroll.c2
-rw-r--r--src/search.c2
-rw-r--r--src/sheap.c2
-rw-r--r--src/sound.c2
-rw-r--r--src/strftime.c2
-rw-r--r--src/sunfns.c2
-rw-r--r--src/syntax.c2
-rw-r--r--src/syntax.h2
-rw-r--r--src/sysdep.c2
-rw-r--r--src/sysselect.h3
-rw-r--r--src/syssignal.h2
-rw-r--r--src/systime.h2
-rw-r--r--src/systty.h2
-rw-r--r--src/syswait.h2
-rw-r--r--src/term.c55
-rw-r--r--src/termcap.c2
-rw-r--r--src/termchar.h2
-rw-r--r--src/termhooks.h2
-rw-r--r--src/terminfo.c2
-rw-r--r--src/termopts.h2
-rw-r--r--src/textprop.c2
-rw-r--r--src/tparam.c2
-rw-r--r--src/uaf.h3
-rw-r--r--src/undo.c2
-rw-r--r--src/unexaix.c2
-rw-r--r--src/unexalpha.c2
-rw-r--r--src/unexapollo.c2
-rw-r--r--src/unexconvex.c2
-rw-r--r--src/unexcw.c2
-rw-r--r--src/unexec.c2
-rw-r--r--src/unexelf.c2
-rw-r--r--src/unexenix.c2
-rw-r--r--src/unexmacosx.c3
-rw-r--r--src/unexmips.c2
-rw-r--r--src/unexnext.c2
-rw-r--r--src/unexsni.c2
-rw-r--r--src/unexsunos4.c2
-rw-r--r--src/unexw32.c3
-rw-r--r--src/vm-limit.c2
-rw-r--r--src/w16select.c2
-rw-r--r--src/w32.c2
-rw-r--r--src/w32.h3
-rw-r--r--src/w32bdf.c3
-rw-r--r--src/w32bdf.h3
-rw-r--r--src/w32console.c2
-rw-r--r--src/w32fns.c2
-rw-r--r--src/w32gui.h3
-rw-r--r--src/w32heap.c3
-rw-r--r--src/w32heap.h3
-rw-r--r--src/w32inevt.c2
-rw-r--r--src/w32inevt.h3
-rw-r--r--src/w32menu.c2
-rw-r--r--src/w32proc.c2
-rw-r--r--src/w32reg.c2
-rw-r--r--src/w32select.c2
-rw-r--r--src/w32term.c2
-rw-r--r--src/w32term.h5
-rw-r--r--src/w32xfns.c2
-rw-r--r--src/widget.c2
-rw-r--r--src/widget.h3
-rw-r--r--src/widgetprv.h3
-rw-r--r--src/window.c10
-rw-r--r--src/xfaces.c2
-rw-r--r--src/xfns.c2
-rw-r--r--src/xmenu.c2
-rw-r--r--src/xrdb.c2
-rw-r--r--src/xselect.c2
-rw-r--r--src/xsmfns.c2
-rw-r--r--src/xterm.c11
-rw-r--r--src/xterm.h5
287 files changed, 648 insertions, 390 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 0d1f51e5d54..2cdb9fc7511 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -1,5 +1,5 @@
1# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998, 2000, 01, 2004, 2005, 2006 1# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001,
2# Free Software Foundation, Inc. 2# 2004, 2005, 2006 Free Software Foundation, Inc.
3# 3#
4# This file is part of GNU Emacs. 4# This file is part of GNU Emacs.
5# 5#
diff --git a/src/ChangeLog b/src/ChangeLog
index 166222ae33c..8c1fffe9911 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,90 @@
12006-02-11 Eli Zaretskii <eliz@gnu.org>
2
3 * keyboard.c (Venable_disabled_menus_and_buttons): New variable.
4 (syms_of_keyboard): DEVFAR_LISP and initialize it.
5 (parse_tool_bar_item, parse_menu_item): If that variable is
6 non-nil, don't disable menu items and tool-bar buttons.
7
82006-02-11 Juanma Barranquero <lekktu@gmail.com>
9
10 * doc.c (Fsubstitute_command_keys): Doc fix.
11
122006-02-10 Thien-Thi Nguyen <ttn@gnu.org>
13
14 * data.c (Findirect_function): Rewrite docstring.
15 Fix omission bug: Declare new arg NOERROR.
16
172006-02-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18
19 * macfns.c (x_set_mouse_color): Don't call rif->define_frame_cursor
20 if window_desc is not set yet.
21 (Fx_create_frame): Remove variable x_frame_name. Apply 2005-12-07
22 and 2006-01-26 changes for xfns.c. Call x_iconify_frame if frame
23 parameter `visibility' is `icon'.
24 (Fx_create_frame, x_create_tip_frame): Use "fontset-standard"
25 instead of "fontset-mac".
26 (Fx_focus_frame): New defun.
27 (syms_of_macfns): Defsubr it.
28
29 * macterm.c (mac_define_frame_cursor): Don't change pointer shape
30 for unfocused frame.
31 (x_raise_frame): Call BringToFront instead of SelectWindow.
32 (x_lower_frame): Use NULL instead of nil.
33 (x_make_frame_visible): Don't call SelectWindow.
34 (XTread_socket): Increment handling_signal at the start, decrement
35 it at the end.
36 [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): Use
37 CFPreferencesGetAppIntegerValue instead of Fmac_get_preference.
38
392006-02-10 Kim F. Storm <storm@cua.dk>
40
41 * data.c (Findirect_function): Add NOERROR arg. All callers changed
42 to pass Qnil for NOERROR.
43
44 * keymap.c (current_minor_maps_error): Remove.
45 (current_minor_maps): Pass Qt for NOERROR to Findirect_function
46 instead of using internal_condition_case_1+current_minor_maps_error.
47
482006-02-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
49
50 * xterm.c (handle_one_xevent): Must note mouse movement even for nil
51 frames for GTK, in that case it is the tool bar. This is so that
52 highlighted text get reset properly.
53
542006-02-09 Juanma Barranquero <lekktu@gmail.com>
55
56 * alloc.c (Fmake_bool_vector, Fpurecopy): Doc fixes.
57
582006-02-08 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
59
60 * window.c (adjust_window_trailing_edge): Check that shrinking
61 does not set a window to size zero or less.
62
632006-02-08 Miles Bader <miles@gnu.org>
64
65 * editfns.c (Fconstrain_to_field): Use Fget_char_property instead
66 of Fget_text_property (other field functions work with overlays as
67 well as text-properties).
68
692006-02-07 Kenichi Handa <handa@m17n.org>
70
71 * dispextern.h (unibyte_display_via_language_environment): Extern it.
72
73 * xterm.h (unibyte_display_via_language_environment):
74 * w32term.h (unibyte_display_via_language_environment):
75 * macterm.h (unibyte_display_via_language_environment): Delete extern.
76
772006-02-07 Kenichi Handa <handa@m17n.org>
78
79 * term.c (append_glyph): Refer to it->char_to_display instead of it->c.
80 (produce_glyphs): Set the character to print in
81 it->char_to_display. Handle unibyte-display-via-language-environment.
82 (produce_stretch_glyph): Set character to print in it->char_to_display.
83
842006-02-06 Kenichi Handa <handa@m17n.org>
85
86 * lread.c (openp): Initialize encoded_fn before GCPRO it.
87
12006-02-05 Ken Raeburn <raeburn@raeburn.org> 882006-02-05 Ken Raeburn <raeburn@raeburn.org>
2 89
3 * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup. 90 * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup.
@@ -22409,7 +22496,8 @@ See ChangeLog.9 for earlier changes.
22409;; coding: iso-2022-7bit 22496;; coding: iso-2022-7bit
22410;; End: 22497;; End:
22411 22498
22412 Copyright (C) 2001, 2002 Free Software Foundation, Inc. 22499 Copyright (C) 2001, 2002, 2003, 2004, 2005,
22500 2006 Free Software Foundation, Inc.
22413 Copying and distribution of this file, with or without modification, 22501 Copying and distribution of this file, with or without modification,
22414 are permitted provided the copyright notice and this notice are preserved. 22502 are permitted provided the copyright notice and this notice are preserved.
22415 22503
diff --git a/src/Makefile.in b/src/Makefile.in
index 9329dddc516..32f339bb139 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,6 +1,6 @@
1# Makefile for GNU Emacs. 1# Makefile for GNU Emacs.
2# Copyright (C) 1985, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002, 2# Copyright (C) 1985, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002,
3# 2003, 2004, 2005 Free Software Foundation, Inc. 3# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5# This file is part of GNU Emacs. 5# This file is part of GNU Emacs.
6 6
diff --git a/src/abbrev.c b/src/abbrev.c
index 84054892910..e7dcec3a43a 100644
--- a/src/abbrev.c
+++ b/src/abbrev.c
@@ -1,6 +1,6 @@
1/* Primitives for word-abbrev mode. 1/* Primitives for word-abbrev mode.
2 Copyright (C) 1985, 1986, 1993, 1996, 1998, 2001, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1993, 1996, 1998, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/alloc.c b/src/alloc.c
index be03f4ebf7c..27fe3f86961 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2301,7 +2301,7 @@ INIT must be an integer that represents a character. */)
2301 2301
2302 2302
2303DEFUN ("make-bool-vector", Fmake_bool_vector, Smake_bool_vector, 2, 2, 0, 2303DEFUN ("make-bool-vector", Fmake_bool_vector, Smake_bool_vector, 2, 2, 0,
2304 doc: /* Return a new bool-vector of length LENGTH, using INIT for as each element. 2304 doc: /* Return a new bool-vector of length LENGTH, using INIT for each element.
2305LENGTH must be a number. INIT matters only in whether it is t or nil. */) 2305LENGTH must be a number. INIT matters only in whether it is t or nil. */)
2306 (length, init) 2306 (length, init)
2307 Lisp_Object length, init; 2307 Lisp_Object length, init;
@@ -4813,7 +4813,7 @@ make_pure_vector (len)
4813 4813
4814 4814
4815DEFUN ("purecopy", Fpurecopy, Spurecopy, 1, 1, 0, 4815DEFUN ("purecopy", Fpurecopy, Spurecopy, 1, 1, 0,
4816 doc: /* Make a copy of OBJECT in pure storage. 4816 doc: /* Make a copy of object OBJ in pure storage.
4817Recursively copies contents of vectors and cons cells. 4817Recursively copies contents of vectors and cons cells.
4818Does not copy symbols. Copies strings without text properties. */) 4818Does not copy symbols. Copies strings without text properties. */)
4819 (obj) 4819 (obj)
diff --git a/src/atimer.c b/src/atimer.c
index d260f67d24d..8b092270d7b 100644
--- a/src/atimer.c
+++ b/src/atimer.c
@@ -1,5 +1,6 @@
1/* Asynchronous timers. 1/* Asynchronous timers.
2 Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2000, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/atimer.h b/src/atimer.h
index d5ad9c674d5..84b1383ffdf 100644
--- a/src/atimer.h
+++ b/src/atimer.h
@@ -1,5 +1,6 @@
1/* Asynchronous timers. 1/* Asynchronous timers.
2 Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2000, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/blockinput.h b/src/blockinput.h
index 0eaebbe34df..78dce69fe1f 100644
--- a/src/blockinput.h
+++ b/src/blockinput.h
@@ -1,6 +1,6 @@
1/* blockinput.h - interface to blocking complicated interrupt-driven input. 1/* blockinput.h - interface to blocking complicated interrupt-driven input.
2 Copyright (C) 1989, 1993, 2002, 2003, 2004, 2 Copyright (C) 1989, 1993, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/buffer.c b/src/buffer.c
index d0719ec9481..dae07edf359 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1,7 +1,7 @@
1/* Buffer manipulation primitives for GNU Emacs. 1/* Buffer manipulation primitives for GNU Emacs.
2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994,
3 1995, 1997, 1998, 1999, 2000, 2001, 2002, 3 1995, 1997, 1998, 1999, 2000, 2001, 2002,
4 2003, 2004, 2005 Free Software Foundation, Inc. 4 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/buffer.h b/src/buffer.h
index 2387af65a47..737877f15de 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -1,6 +1,6 @@
1/* Header file for the buffer manipulation primitives. 1/* Header file for the buffer manipulation primitives.
2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/bytecode.c b/src/bytecode.c
index af09061dbc3..0d06890eabf 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -1,6 +1,6 @@
1/* Execution of byte code produced by bytecomp.el. 1/* Execution of byte code produced by bytecomp.el.
2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/callint.c b/src/callint.c
index 38db2ea92ec..c54b03394c0 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -1,6 +1,6 @@
1/* Call a Lisp function interactively. 1/* Call a Lisp function interactively.
2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 2000, 2002, 2003, 2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 2000, 2002, 2003,
3 2004, 2005 Free Software Foundation, Inc. 3 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/callproc.c b/src/callproc.c
index 25861602c85..a6841317e63 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -1,6 +1,6 @@
1/* Synchronous subprocess invocation for GNU Emacs. 1/* Synchronous subprocess invocation for GNU Emacs.
2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/casefiddle.c b/src/casefiddle.c
index dee68fcf8c0..02ec3f76b4e 100644
--- a/src/casefiddle.c
+++ b/src/casefiddle.c
@@ -1,6 +1,6 @@
1/* GNU Emacs case conversion functions. 1/* GNU Emacs case conversion functions.
2 Copyright (C) 1985, 1994, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2 Copyright (C) 1985, 1994, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/casetab.c b/src/casetab.c
index a1e8b5a68fb..5c7530eb480 100644
--- a/src/casetab.c
+++ b/src/casetab.c
@@ -1,6 +1,6 @@
1/* GNU Emacs routines to deal with case tables. 1/* GNU Emacs routines to deal with case tables.
2 Copyright (C) 1993, 1994, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/category.c b/src/category.c
index 866a7cdd429..929cd7ea1c0 100644
--- a/src/category.c
+++ b/src/category.c
@@ -1,5 +1,5 @@
1/* GNU Emacs routines to deal with category tables. 1/* GNU Emacs routines to deal with category tables.
2 Copyright (C) 1998, 2001, 2004 Free Software Foundation, Inc. 2 Copyright (C) 1998, 2001, 2004, 2005, 2006 Free Software Foundation, Inc.
3 Copyright (C) 1995, 1997, 1998, 1999 3 Copyright (C) 1995, 1997, 1998, 1999
4 National Institute of Advanced Industrial Science and Technology (AIST) 4 National Institute of Advanced Industrial Science and Technology (AIST)
5 Registration Number H14PRO021 5 Registration Number H14PRO021
diff --git a/src/ccl.c b/src/ccl.c
index 69658f779a7..779755cf39e 100644
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -1,5 +1,6 @@
1/* CCL (Code Conversion Language) interpreter. 1/* CCL (Code Conversion Language) interpreter.
2 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2001, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 Copyright (C) 1995, 1997, 1998, 2003, 2004, 2005 4 Copyright (C) 1995, 1997, 1998, 2003, 2004, 2005
4 National Institute of Advanced Industrial Science and Technology (AIST) 5 National Institute of Advanced Industrial Science and Technology (AIST)
5 Registration Number H14PRO021 6 Registration Number H14PRO021
diff --git a/src/charset.c b/src/charset.c
index fb9804c0306..211de24ef89 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1,5 +1,6 @@
1/* Basic multilingual character support. 1/* Basic multilingual character support.
2 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2001, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 Copyright (C) 1995, 1997, 1998, 1999, 2000, 2001 4 Copyright (C) 1995, 1997, 1998, 1999, 2000, 2001
4 National Institute of Advanced Industrial Science and Technology (AIST) 5 National Institute of Advanced Industrial Science and Technology (AIST)
5 Registration Number H14PRO021 6 Registration Number H14PRO021
diff --git a/src/charset.h b/src/charset.h
index d6b1dee187f..0d61aa054c0 100644
--- a/src/charset.h
+++ b/src/charset.h
@@ -1,5 +1,6 @@
1/* Header for multibyte character handler. 1/* Header for multibyte character handler.
2 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2001, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 Copyright (C) 1995, 1997, 1998, 2003 4 Copyright (C) 1995, 1997, 1998, 2003
4 National Institute of Advanced Industrial Science and Technology (AIST) 5 National Institute of Advanced Industrial Science and Technology (AIST)
5 Registration Number H14PRO021 6 Registration Number H14PRO021
diff --git a/src/cm.c b/src/cm.c
index 0044063dabb..0d49ca40204 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -1,6 +1,6 @@
1/* Cursor motion subroutines for GNU Emacs. 1/* Cursor motion subroutines for GNU Emacs.
2 Copyright (C) 1985, 1995, 2002, 2003, 2004, 2 Copyright (C) 1985, 1995, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 based primarily on public domain code written by Chris Torek 4 based primarily on public domain code written by Chris Torek
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
diff --git a/src/cm.h b/src/cm.h
index c2381f3c55e..b0d7f2ce84c 100644
--- a/src/cm.h
+++ b/src/cm.h
@@ -1,6 +1,6 @@
1/* Cursor motion calculation definitions for GNU Emacs 1/* Cursor motion calculation definitions for GNU Emacs
2 Copyright (C) 1985, 1989, 2002, 2003, 2004, 2 Copyright (C) 1985, 1989, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/cmds.c b/src/cmds.c
index 8f7e3bf02df..f1e92ab2f75 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -1,6 +1,6 @@
1/* Simple built-in editing commands. 1/* Simple built-in editing commands.
2 Copyright (C) 1985, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, 2 Copyright (C) 1985, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002,
3 2003, 2004, 2005 Free Software Foundation, Inc. 3 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/coding.c b/src/coding.c
index 2358f3e13f3..2d5618649d1 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -1,5 +1,6 @@
1/* Coding system handler (conversion, detection, and etc). 1/* Coding system handler (conversion, detection, and etc).
2 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2001, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 Copyright (C) 1995, 1997, 1998, 2002, 2003, 2004, 2005 4 Copyright (C) 1995, 1997, 1998, 2002, 2003, 2004, 2005
4 National Institute of Advanced Industrial Science and Technology (AIST) 5 National Institute of Advanced Industrial Science and Technology (AIST)
5 Registration Number H14PRO021 6 Registration Number H14PRO021
diff --git a/src/coding.h b/src/coding.h
index 609720b9751..5d649fbf9ff 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -1,5 +1,6 @@
1/* Header for coding system handler. 1/* Header for coding system handler.
2 Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 Copyright (C) 1995, 1997, 1998, 2000 4 Copyright (C) 1995, 1997, 1998, 2000
4 National Institute of Advanced Industrial Science and Technology (AIST) 5 National Institute of Advanced Industrial Science and Technology (AIST)
5 Registration Number H14PRO021 6 Registration Number H14PRO021
diff --git a/src/commands.h b/src/commands.h
index ed46141bf11..5c7cad37407 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -1,6 +1,6 @@
1/* Definitions needed by most editing commands. 1/* Definitions needed by most editing commands.
2 Copyright (C) 1985, 1994, 2002, 2003, 2004, 2 Copyright (C) 1985, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/composite.c b/src/composite.c
index 54aa2ed9840..d3be3554c55 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -1,5 +1,6 @@
1/* Composite sequence support. 1/* Composite sequence support.
2 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2001, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 Copyright (C) 1999 4 Copyright (C) 1999
4 National Institute of Advanced Industrial Science and Technology (AIST) 5 National Institute of Advanced Industrial Science and Technology (AIST)
5 Registration Number H14PRO021 6 Registration Number H14PRO021
diff --git a/src/composite.h b/src/composite.h
index 99db0506814..5c19f8aa56e 100644
--- a/src/composite.h
+++ b/src/composite.h
@@ -1,5 +1,6 @@
1/* Header for composite sequence handler. 1/* Header for composite sequence handler.
2 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2001, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 Copyright (C) 1997 4 Copyright (C) 1997
4 National Institute of Advanced Industrial Science and Technology (AIST) 5 National Institute of Advanced Industrial Science and Technology (AIST)
5 Registration Number H14PRO021 6 Registration Number H14PRO021
diff --git a/src/config.in b/src/config.in
index 69c7543bfab..b6730d0284e 100644
--- a/src/config.in
+++ b/src/config.in
@@ -1,8 +1,8 @@
1/* src/config.in. Generated from configure.in by autoheader. */ 1/* src/config.in. Generated from configure.in by autoheader. */
2 2
3/* GNU Emacs site configuration template file. 3/* GNU Emacs site configuration template file.
4 Copyright (C) 1988, 1993, 1994, 1999, 2000, 2002, 2004 4 Copyright (C) 1988, 1993, 1994, 1999, 2000, 2002, 2004, 2005,
5 Free Software Foundation, Inc. 5 2006 Free Software Foundation, Inc.
6 6
7This file is part of GNU Emacs. 7This file is part of GNU Emacs.
8 8
diff --git a/src/cxux-crt0.s b/src/cxux-crt0.s
index 71076eb8b5f..b05faf57b8e 100644
--- a/src/cxux-crt0.s
+++ b/src/cxux-crt0.s
@@ -1,6 +1,7 @@
1/* 1/*
2 * External symbol setup file for GNU Emacs on CX/UX 2 * External symbol setup file for GNU Emacs on CX/UX
3 * Copyright (C) 1990, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 * Copyright (C) 1990, 2002, 2003, 2004, 2005,
4 * 2006 Free Software Foundation, Inc.
4 * 5 *
5 * This file is part of GNU Emacs. 6 * This file is part of GNU Emacs.
6 * 7 *
diff --git a/src/data.c b/src/data.c
index 10d6a1e9eb5..d2f6ce76905 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1,6 +1,6 @@
1/* Primitive operations on Lisp data types for GNU Emacs Lisp interpreter. 1/* Primitive operations on Lisp data types for GNU Emacs Lisp interpreter.
2 Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2 Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, 1998, 1999, 2000,
3 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -1984,23 +1984,26 @@ indirect_function (object)
1984 return hare; 1984 return hare;
1985} 1985}
1986 1986
1987DEFUN ("indirect-function", Findirect_function, Sindirect_function, 1, 1, 0, 1987DEFUN ("indirect-function", Findirect_function, Sindirect_function, 1, 2, 0,
1988 doc: /* Return the function at the end of OBJECT's function chain. 1988 doc: /* Return the function at the end of OBJECT's function chain.
1989If OBJECT is a symbol, follow all function indirections and return the final 1989If OBJECT is not a symbol, just return it. Otherwise, follow all
1990function binding. 1990function indirections to find the final function binding and return it.
1991If OBJECT is not a symbol, just return it. 1991If the final symbol in the chain is unbound, signal a void-function error.
1992Signal a void-function error if the final symbol is unbound. 1992Optional arg NOERROR non-nil means to return nil instead of signalling.
1993Signal a cyclic-function-indirection error if there is a loop in the 1993Signal a cyclic-function-indirection error if there is a loop in the
1994function chain of symbols. */) 1994function chain of symbols. */)
1995 (object) 1995 (object, noerror)
1996 register Lisp_Object object; 1996 register Lisp_Object object;
1997 Lisp_Object noerror;
1997{ 1998{
1998 Lisp_Object result; 1999 Lisp_Object result;
1999 2000
2000 result = indirect_function (object); 2001 result = indirect_function (object);
2001 2002
2002 if (EQ (result, Qunbound)) 2003 if (EQ (result, Qunbound))
2003 return Fsignal (Qvoid_function, Fcons (object, Qnil)); 2004 return (NILP (noerror)
2005 ? Fsignal (Qvoid_function, Fcons (object, Qnil))
2006 : Qnil);
2004 return result; 2007 return result;
2005} 2008}
2006 2009
diff --git a/src/dired.c b/src/dired.c
index 474683c3c87..8c7c7fd5ac6 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -1,6 +1,6 @@
1/* Lisp functions for making directory listings. 1/* Lisp functions for making directory listings.
2 Copyright (C) 1985, 1986, 1993, 1994, 1999, 2000, 2001, 2002, 2003, 2 Copyright (C) 1985, 1986, 1993, 1994, 1999, 2000, 2001, 2002, 2003,
3 2004, 2005 Free Software Foundation, Inc. 3 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/dispextern.h b/src/dispextern.h
index b5a6b21d539..66ec02d724a 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -1,6 +1,6 @@
1/* Interface definitions for display code. 1/* Interface definitions for display code.
2 Copyright (C) 1985, 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, 2 Copyright (C) 1985, 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002,
3 2003, 2004, 2005 Free Software Foundation, Inc. 3 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -2644,6 +2644,8 @@ extern int help_echo_pos;
2644extern struct frame *last_mouse_frame; 2644extern struct frame *last_mouse_frame;
2645extern int last_tool_bar_item; 2645extern int last_tool_bar_item;
2646extern int mouse_autoselect_window; 2646extern int mouse_autoselect_window;
2647extern int unibyte_display_via_language_environment;
2648
2647extern void reseat_at_previous_visible_line_start P_ ((struct it *)); 2649extern void reseat_at_previous_visible_line_start P_ ((struct it *));
2648 2650
2649extern int calc_pixel_width_or_height P_ ((double *, struct it *, Lisp_Object, 2651extern int calc_pixel_width_or_height P_ ((double *, struct it *, Lisp_Object,
diff --git a/src/dispnew.c b/src/dispnew.c
index 2f3deac5fcc..53ea761178f 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1,7 +1,7 @@
1/* Updating of data structures for redisplay. 1/* Updating of data structures for redisplay.
2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995,
3 1997, 1998, 1999, 2000, 2001, 2002, 2003, 3 1997, 1998, 1999, 2000, 2001, 2002, 2003,
4 2004, 2005 Free Software Foundation, Inc. 4 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/disptab.h b/src/disptab.h
index 41f4bcbfdbf..80936fb1830 100644
--- a/src/disptab.h
+++ b/src/disptab.h
@@ -1,5 +1,6 @@
1/* Things for GLYPHS and glyph tables. 1/* Things for GLYPHS and glyph tables.
2 Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1993, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/doc.c b/src/doc.c
index 0566c5f9d06..3dd5622d9df 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -1,6 +1,6 @@
1/* Record indices of function doc strings stored in a file. 1/* Record indices of function doc strings stored in a file.
2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -386,7 +386,7 @@ string is passed through `substitute-command-keys'. */)
386 !NILP (tem))) 386 !NILP (tem)))
387 return Fdocumentation_property (function, Qfunction_documentation, raw); 387 return Fdocumentation_property (function, Qfunction_documentation, raw);
388 388
389 fun = Findirect_function (function); 389 fun = Findirect_function (function, Qnil);
390 if (SUBRP (fun)) 390 if (SUBRP (fun))
391 { 391 {
392 if (XSUBR (fun)->doc == 0) 392 if (XSUBR (fun)->doc == 0)
@@ -739,7 +739,7 @@ Substrings of the form \\=\\[COMMAND] replaced by either: a keystroke
739sequence that will invoke COMMAND, or "M-x COMMAND" if COMMAND is not 739sequence that will invoke COMMAND, or "M-x COMMAND" if COMMAND is not
740on any keys. 740on any keys.
741Substrings of the form \\=\\{MAPVAR} are replaced by summaries 741Substrings of the form \\=\\{MAPVAR} are replaced by summaries
742\(made by describe-bindings) of the value of MAPVAR, taken as a keymap. 742\(made by `describe-bindings') of the value of MAPVAR, taken as a keymap.
743Substrings of the form \\=\\<MAPVAR> specify to use the value of MAPVAR 743Substrings of the form \\=\\<MAPVAR> specify to use the value of MAPVAR
744as the keymap for future \\=\\[COMMAND] substrings. 744as the keymap for future \\=\\[COMMAND] substrings.
745\\=\\= quotes the following character and is discarded; 745\\=\\= quotes the following character and is discarded;
diff --git a/src/doprnt.c b/src/doprnt.c
index 5d824038faf..63c0261e6ae 100644
--- a/src/doprnt.c
+++ b/src/doprnt.c
@@ -1,7 +1,8 @@
1/* Output like sprintf to a buffer of specified size. 1/* Output like sprintf to a buffer of specified size.
2 Also takes args differently: pass one pointer to an array of strings 2 Also takes args differently: pass one pointer to an array of strings
3 in addition to the format string which is separate. 3 in addition to the format string which is separate.
4 Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4 Copyright (C) 1985, 2002, 2003, 2004, 2005,
5 2006 Free Software Foundation, Inc.
5 6
6This file is part of GNU Emacs. 7This file is part of GNU Emacs.
7 8
diff --git a/src/dosfns.c b/src/dosfns.c
index c256595cc13..22aaa62f0d1 100644
--- a/src/dosfns.c
+++ b/src/dosfns.c
@@ -1,7 +1,7 @@
1/* MS-DOS specific Lisp utilities. Coded by Manabu Higashida, 1991. 1/* MS-DOS specific Lisp utilities. Coded by Manabu Higashida, 1991.
2 Major changes May-July 1993 Morten Welinder (only 10% original code left) 2 Major changes May-July 1993 Morten Welinder (only 10% original code left)
3 Copyright (C) 1991, 1993, 1996, 1997, 1998, 2001, 2002, 2003, 2004, 3 Copyright (C) 1991, 1993, 1996, 1997, 1998, 2001, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/dosfns.h b/src/dosfns.h
index 40aaf524e23..4f1cfd83d22 100644
--- a/src/dosfns.h
+++ b/src/dosfns.h
@@ -3,7 +3,7 @@
3 Modified by Morten Welinder, 1993-1994. 3 Modified by Morten Welinder, 1993-1994.
4 4
5 Copyright (C) 1991, 1994, 1995, 1997, 1999, 2002, 2003, 2004, 5 Copyright (C) 1991, 1994, 1995, 1997, 1999, 2002, 2003, 2004,
6 2005 Free Software Foundation, Inc. 6 2005, 2006 Free Software Foundation, Inc.
7 7
8This file is part of GNU Emacs. 8This file is part of GNU Emacs.
9 9
diff --git a/src/ecrt0.c b/src/ecrt0.c
index 5ee24dfae8c..a9b993d360e 100644
--- a/src/ecrt0.c
+++ b/src/ecrt0.c
@@ -1,6 +1,6 @@
1/* C code startup routine. 1/* C code startup routine.
2 Copyright (C) 1985, 1986, 1992, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1992, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/editfns.c b/src/editfns.c
index 5bf4eb738ae..b621397eda3 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -1,7 +1,7 @@
1/* Lisp functions pertaining to editing. 1/* Lisp functions pertaining to editing.
2 Copyright (C) 1985, 1986, 1987, 1989, 1993, 1994, 1995, 1996, 2 Copyright (C) 1985, 1986, 1987, 1989, 1993, 1994, 1995, 1996,
3 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
@@ -739,24 +739,24 @@ Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. */)
739 739
740 if (NILP (Vinhibit_field_text_motion) 740 if (NILP (Vinhibit_field_text_motion)
741 && !EQ (new_pos, old_pos) 741 && !EQ (new_pos, old_pos)
742 && (!NILP (Fget_text_property (new_pos, Qfield, Qnil)) 742 && (!NILP (Fget_char_property (new_pos, Qfield, Qnil))
743 || !NILP (Fget_text_property (old_pos, Qfield, Qnil)) 743 || !NILP (Fget_char_property (old_pos, Qfield, Qnil))
744 /* To recognize field boundaries, we must also look at the 744 /* To recognize field boundaries, we must also look at the
745 previous positions; we could use `get_pos_property' 745 previous positions; we could use `get_pos_property'
746 instead, but in itself that would fail inside non-sticky 746 instead, but in itself that would fail inside non-sticky
747 fields (like comint prompts). */ 747 fields (like comint prompts). */
748 || (XFASTINT (new_pos) > BEGV 748 || (XFASTINT (new_pos) > BEGV
749 && !NILP (Fget_text_property (prev_new, Qfield, Qnil))) 749 && !NILP (Fget_char_property (prev_new, Qfield, Qnil)))
750 || (XFASTINT (old_pos) > BEGV 750 || (XFASTINT (old_pos) > BEGV
751 && !NILP (Fget_text_property (prev_old, Qfield, Qnil)))) 751 && !NILP (Fget_char_property (prev_old, Qfield, Qnil))))
752 && (NILP (inhibit_capture_property) 752 && (NILP (inhibit_capture_property)
753 /* Field boundaries are again a problem; but now we must 753 /* Field boundaries are again a problem; but now we must
754 decide the case exactly, so we need to call 754 decide the case exactly, so we need to call
755 `get_pos_property' as well. */ 755 `get_pos_property' as well. */
756 || (NILP (get_pos_property (old_pos, inhibit_capture_property, Qnil)) 756 || (NILP (get_pos_property (old_pos, inhibit_capture_property, Qnil))
757 && (XFASTINT (old_pos) <= BEGV 757 && (XFASTINT (old_pos) <= BEGV
758 || NILP (Fget_text_property (old_pos, inhibit_capture_property, Qnil)) 758 || NILP (Fget_char_property (old_pos, inhibit_capture_property, Qnil))
759 || NILP (Fget_text_property (prev_old, inhibit_capture_property, Qnil)))))) 759 || NILP (Fget_char_property (prev_old, inhibit_capture_property, Qnil))))))
760 /* It is possible that NEW_POS is not within the same field as 760 /* It is possible that NEW_POS is not within the same field as
761 OLD_POS; try to move NEW_POS so that it is. */ 761 OLD_POS; try to move NEW_POS so that it is. */
762 { 762 {
diff --git a/src/epaths.in b/src/epaths.in
index ee965cb7615..d494d85139c 100644
--- a/src/epaths.in
+++ b/src/epaths.in
@@ -1,6 +1,6 @@
1/* Hey Emacs, this is -*- C -*- code! */ 1/* Hey Emacs, this is -*- C -*- code! */
2/* Copyright (C) 1993, 1995, 1997, 1999, 2001, 2002, 2003, 2004, 2/* Copyright (C) 1993, 1995, 1997, 1999, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/eval.c b/src/eval.c
index a6c58bc2425..eff284820f0 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1,6 +1,6 @@
1/* Evaluator for GNU Emacs Lisp interpreter. 1/* Evaluator for GNU Emacs Lisp interpreter.
2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1999, 2000, 2001, 2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1999, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -618,7 +618,7 @@ interactive_p (exclude_subrs_p)
618 618
619 /* If this isn't a byte-compiled function, there may be a frame at 619 /* If this isn't a byte-compiled function, there may be a frame at
620 the top for Finteractive_p. If so, skip it. */ 620 the top for Finteractive_p. If so, skip it. */
621 fun = Findirect_function (*btp->function); 621 fun = Findirect_function (*btp->function, Qnil);
622 if (SUBRP (fun) && (XSUBR (fun) == &Sinteractive_p 622 if (SUBRP (fun) && (XSUBR (fun) == &Sinteractive_p
623 || XSUBR (fun) == &Scalled_interactively_p)) 623 || XSUBR (fun) == &Scalled_interactively_p))
624 btp = btp->next; 624 btp = btp->next;
@@ -639,7 +639,7 @@ interactive_p (exclude_subrs_p)
639 a special form, ignoring frames for Finteractive_p and/or 639 a special form, ignoring frames for Finteractive_p and/or
640 Fbytecode at the top. If this frame is for a built-in function 640 Fbytecode at the top. If this frame is for a built-in function
641 (such as load or eval-region) return nil. */ 641 (such as load or eval-region) return nil. */
642 fun = Findirect_function (*btp->function); 642 fun = Findirect_function (*btp->function, Qnil);
643 if (exclude_subrs_p && SUBRP (fun)) 643 if (exclude_subrs_p && SUBRP (fun))
644 return 0; 644 return 0;
645 645
@@ -2079,7 +2079,7 @@ do_autoload (fundef, funname)
2079 Vautoload_queue = Qt; 2079 Vautoload_queue = Qt;
2080 unbind_to (count, Qnil); 2080 unbind_to (count, Qnil);
2081 2081
2082 fun = Findirect_function (fun); 2082 fun = Findirect_function (fun, Qnil);
2083 2083
2084 if (!NILP (Fequal (fun, fundef))) 2084 if (!NILP (Fequal (fun, fundef)))
2085 error ("Autoloading failed to define function %s", 2085 error ("Autoloading failed to define function %s",
@@ -2142,7 +2142,7 @@ DEFUN ("eval", Feval, Seval, 1, 1, 0,
2142 /* At this point, only original_fun and original_args 2142 /* At this point, only original_fun and original_args
2143 have values that will be used below */ 2143 have values that will be used below */
2144 retry: 2144 retry:
2145 fun = Findirect_function (original_fun); 2145 fun = Findirect_function (original_fun, Qnil);
2146 2146
2147 if (SUBRP (fun)) 2147 if (SUBRP (fun))
2148 { 2148 {
@@ -2841,7 +2841,7 @@ usage: (funcall FUNCTION &rest ARGUMENTS) */)
2841 2841
2842 fun = args[0]; 2842 fun = args[0];
2843 2843
2844 fun = Findirect_function (fun); 2844 fun = Findirect_function (fun, Qnil);
2845 2845
2846 if (SUBRP (fun)) 2846 if (SUBRP (fun))
2847 { 2847 {
diff --git a/src/filelock.c b/src/filelock.c
index fc6839f5f88..6e8e6da9fbd 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -1,6 +1,6 @@
1/* Lock files for editing. 1/* Lock files for editing.
2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1996, 1998, 1999, 2000, 2001, 2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1996, 1998, 1999, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/filemode.c b/src/filemode.c
index 6257c6a7664..835a8a3778e 100644
--- a/src/filemode.c
+++ b/src/filemode.c
@@ -1,6 +1,6 @@
1/* filemode.c -- make a string describing file modes 1/* filemode.c -- make a string describing file modes
2 Copyright (C) 1985, 1990, 1993, 2002, 2003, 2004, 2 Copyright (C) 1985, 1990, 1993, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
diff --git a/src/firstfile.c b/src/firstfile.c
index b16f3a3dc44..06e7022d89a 100644
--- a/src/firstfile.c
+++ b/src/firstfile.c
@@ -1,5 +1,6 @@
1/* Mark beginning of data space to dump as pure, for GNU Emacs. 1/* Mark beginning of data space to dump as pure, for GNU Emacs.
2 Copyright (C) 1997, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1997, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/floatfns.c b/src/floatfns.c
index 71f53542283..d5ca50f9165 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -1,6 +1,6 @@
1/* Primitive operations on floating point for GNU Emacs Lisp interpreter. 1/* Primitive operations on floating point for GNU Emacs Lisp interpreter.
2 Copyright (C) 1988, 1993, 1994, 1999, 2002, 2003, 2004, 2 Copyright (C) 1988, 1993, 1994, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/fns.c b/src/fns.c
index 48048c5a830..d16222e6fa5 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1,7 +1,7 @@
1/* Random utility Lisp functions. 1/* Random utility Lisp functions.
2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997,
3 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/fontset.c b/src/fontset.c
index 871ce9926f7..23f3c57d241 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -1,5 +1,5 @@
1/* Fontset handler. 1/* Fontset handler.
2 Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 Copyright (C) 1995, 1997, 1998, 2000, 2003, 2004, 2005 3 Copyright (C) 1995, 1997, 1998, 2000, 2003, 2004, 2005
4 National Institute of Advanced Industrial Science and Technology (AIST) 4 National Institute of Advanced Industrial Science and Technology (AIST)
5 Registration Number H14PRO021 5 Registration Number H14PRO021
diff --git a/src/fontset.h b/src/fontset.h
index aaf12facf94..a4360280911 100644
--- a/src/fontset.h
+++ b/src/fontset.h
@@ -1,5 +1,6 @@
1/* Header for fontset handler. 1/* Header for fontset handler.
2 Copyright (C) 1998, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1998, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 Copyright (C) 1995, 1997, 2000 4 Copyright (C) 1995, 1997, 2000
4 National Institute of Advanced Industrial Science and Technology (AIST) 5 National Institute of Advanced Industrial Science and Technology (AIST)
5 Registration Number H14PRO021 6 Registration Number H14PRO021
diff --git a/src/frame.c b/src/frame.c
index c9061423193..34508a6d2fb 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1,6 +1,6 @@
1/* Generic frame functions. 1/* Generic frame functions.
2 Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, 2 Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003,
3 2004, 2005 Free Software Foundation, Inc. 3 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/frame.h b/src/frame.h
index cf0e50ed623..ae80c03f9ca 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -1,6 +1,6 @@
1/* Define frame-object for GNU Emacs. 1/* Define frame-object for GNU Emacs.
2 Copyright (C) 1993, 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 1999, 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/fringe.c b/src/fringe.c
index 8c6d47cbade..991df3bd60d 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -1,7 +1,7 @@
1/* Fringe handling (split from xdisp.c). 1/* Fringe handling (split from xdisp.c).
2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1997, 2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1997,
3 1998, 1999, 2000, 2000, 2001, 2002, 2003, 2004, 3 1998, 1999, 2000, 2000, 2001, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/getloadavg.c b/src/getloadavg.c
index a2ae9bc310b..3f616b47116 100644
--- a/src/getloadavg.c
+++ b/src/getloadavg.c
@@ -1,6 +1,6 @@
1/* Get the system load averages. 1/* Get the system load averages.
2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995,
3 1997, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 1997, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5 NOTE: The canonical source of this file is maintained with gnulib. 5 NOTE: The canonical source of this file is maintained with gnulib.
6 Bugs can be reported to bug-gnulib@gnu.org. 6 Bugs can be reported to bug-gnulib@gnu.org.
diff --git a/src/getpagesize.h b/src/getpagesize.h
index ed47f80b0e0..f38409da452 100644
--- a/src/getpagesize.h
+++ b/src/getpagesize.h
@@ -1,6 +1,6 @@
1/* Emulate getpagesize on systems that lack it. 1/* Emulate getpagesize on systems that lack it.
2 Copyright (C) 1986, 1992, 1995, 2001, 2002, 2003, 2004, 2 Copyright (C) 1986, 1992, 1995, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/gmalloc.c b/src/gmalloc.c
index 55aedb7801b..71df287a6b6 100644
--- a/src/gmalloc.c
+++ b/src/gmalloc.c
@@ -6,7 +6,7 @@
6 6
7/* Declarations for `malloc' and friends. 7/* Declarations for `malloc' and friends.
8 Copyright (C) 1990, 1991, 1992, 1993, 1995, 1996, 1999, 2002, 2003, 2004, 8 Copyright (C) 1990, 1991, 1992, 1993, 1995, 1996, 1999, 2002, 2003, 2004,
9 2005 Free Software Foundation, Inc. 9 2005, 2006 Free Software Foundation, Inc.
10 Written May 1989 by Mike Haertel. 10 Written May 1989 by Mike Haertel.
11 11
12This library is free software; you can redistribute it and/or 12This library is free software; you can redistribute it and/or
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 67288cab33f..3efc96cfe5d 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -1,5 +1,5 @@
1/* Functions for creating and updating GTK widgets. 1/* Functions for creating and updating GTK widgets.
2 Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
diff --git a/src/gtkutil.h b/src/gtkutil.h
index 6b9fd179ec5..742e3ecb1e5 100644
--- a/src/gtkutil.h
+++ b/src/gtkutil.h
@@ -1,5 +1,5 @@
1/* Definitions and headers for GTK widgets. 1/* Definitions and headers for GTK widgets.
2 Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
diff --git a/src/image.c b/src/image.c
index 0ed50ac6539..3587515f840 100644
--- a/src/image.c
+++ b/src/image.c
@@ -1,6 +1,6 @@
1/* Functions for image support on window system. 1/* Functions for image support on window system.
2 Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2 Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
3 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/indent.c b/src/indent.c
index 6ca15c67345..9b5a9e32c79 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -1,6 +1,6 @@
1/* Indentation functions. 1/* Indentation functions.
2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1998, 2000, 2001, 2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1998, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/indent.h b/src/indent.h
index 6026be827e8..ddfd16a16de 100644
--- a/src/indent.h
+++ b/src/indent.h
@@ -1,6 +1,6 @@
1/* Definitions for interface to indent.c 1/* Definitions for interface to indent.c
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/insdel.c b/src/insdel.c
index a63dce14928..b9d9574788e 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -1,6 +1,6 @@
1/* Buffer insertion/deletion and gap motion for GNU Emacs. 1/* Buffer insertion/deletion and gap motion for GNU Emacs.
2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/intervals.c b/src/intervals.c
index 07845f95666..8bbab5a2a28 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -1,6 +1,6 @@
1/* Code for doing intervals. 1/* Code for doing intervals.
2 Copyright (C) 1993, 1994, 1995, 1997, 1998, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 1995, 1997, 1998, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/intervals.h b/src/intervals.h
index 418520b5c25..052b55d5a3c 100644
--- a/src/intervals.h
+++ b/src/intervals.h
@@ -1,6 +1,6 @@
1/* Definitions and global variables for intervals. 1/* Definitions and global variables for intervals.
2 Copyright (C) 1993, 1994, 2000, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 2000, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/keyboard.c b/src/keyboard.c
index dc509ad5717..319e6d24974 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1,7 +1,7 @@
1/* Keyboard and mouse input; editor command loop. 1/* Keyboard and mouse input; editor command loop.
2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995,
3 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 3 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
@@ -633,6 +633,11 @@ static EMACS_TIME timer_idleness_start_time;
633 633
634static EMACS_TIME timer_last_idleness_start_time; 634static EMACS_TIME timer_last_idleness_start_time;
635 635
636/* If non-nil, events produced by disabled menu items and tool-bar
637 buttons are not ignored. Help functions bind this to allow help on
638 those items and buttons. */
639Lisp_Object Venable_disabled_menus_and_buttons;
640
636 641
637/* Global variable declarations. */ 642/* Global variable declarations. */
638 643
@@ -7453,7 +7458,9 @@ parse_menu_item (item, notreal, inmenubar)
7453 if (SYMBOLP (item)) 7458 if (SYMBOLP (item))
7454 { 7459 {
7455 tem = Fget (item, Qmenu_enable); 7460 tem = Fget (item, Qmenu_enable);
7456 if (!NILP (tem)) 7461 if (!NILP (Venable_disabled_menus_and_buttons))
7462 AREF (item_properties, ITEM_PROPERTY_ENABLE) = Qt;
7463 else if (!NILP (tem))
7457 AREF (item_properties, ITEM_PROPERTY_ENABLE) = tem; 7464 AREF (item_properties, ITEM_PROPERTY_ENABLE) = tem;
7458 } 7465 }
7459 } 7466 }
@@ -7482,7 +7489,12 @@ parse_menu_item (item, notreal, inmenubar)
7482 item = XCDR (item); 7489 item = XCDR (item);
7483 7490
7484 if (EQ (tem, QCenable)) 7491 if (EQ (tem, QCenable))
7485 AREF (item_properties, ITEM_PROPERTY_ENABLE) = XCAR (item); 7492 {
7493 if (!NILP (Venable_disabled_menus_and_buttons))
7494 AREF (item_properties, ITEM_PROPERTY_ENABLE) = Qt;
7495 else
7496 AREF (item_properties, ITEM_PROPERTY_ENABLE) = XCAR (item);
7497 }
7486 else if (EQ (tem, QCvisible) && !notreal) 7498 else if (EQ (tem, QCvisible) && !notreal)
7487 { 7499 {
7488 /* If got a visible property and that evaluates to nil 7500 /* If got a visible property and that evaluates to nil
@@ -8002,8 +8014,13 @@ parse_tool_bar_item (key, item)
8002 value = XCAR (XCDR (item)); 8014 value = XCAR (XCDR (item));
8003 8015
8004 if (EQ (key, QCenable)) 8016 if (EQ (key, QCenable))
8005 /* `:enable FORM'. */ 8017 {
8006 PROP (TOOL_BAR_ITEM_ENABLED_P) = value; 8018 /* `:enable FORM'. */
8019 if (!NILP (Venable_disabled_menus_and_buttons))
8020 PROP (TOOL_BAR_ITEM_ENABLED_P) = Qt;
8021 else
8022 PROP (TOOL_BAR_ITEM_ENABLED_P) = value;
8023 }
8007 else if (EQ (key, QCvisible)) 8024 else if (EQ (key, QCvisible))
8008 { 8025 {
8009 /* `:visible FORM'. If got a visible property and that 8026 /* `:visible FORM'. If got a visible property and that
@@ -9907,7 +9924,7 @@ a special event, so ignore the prefix argument and don't clear it. */)
9907 9924
9908 while (1) 9925 while (1)
9909 { 9926 {
9910 final = Findirect_function (cmd); 9927 final = Findirect_function (cmd, Qnil);
9911 9928
9912 if (CONSP (final) && (tem = Fcar (final), EQ (tem, Qautoload))) 9929 if (CONSP (final) && (tem = Fcar (final), EQ (tem, Qautoload)))
9913 { 9930 {
@@ -11934,6 +11951,14 @@ If the value is not a number, such messages don't time out. */);
11934The value of that variable is passed to `quit-flag' and later causes a 11951The value of that variable is passed to `quit-flag' and later causes a
11935peculiar kind of quitting. */); 11952peculiar kind of quitting. */);
11936 Vthrow_on_input = Qnil; 11953 Vthrow_on_input = Qnil;
11954
11955 DEFVAR_LISP ("enable-disabled-menus-and-buttons",
11956 &Venable_disabled_menus_and_buttons,
11957 doc: /* If non-nil, don't ignore events produced by disabled menu items and tool-bar.
11958
11959Help functions bind this to allow help on disabled menu items
11960and tool-bar buttons. */);
11961 Venable_disabled_menus_and_buttons = Qnil;
11937} 11962}
11938 11963
11939void 11964void
diff --git a/src/keyboard.h b/src/keyboard.h
index 19a38ed7446..a3fa54b1042 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -1,6 +1,6 @@
1/* Declarations useful when processing input. 1/* Declarations useful when processing input.
2 Copyright (C) 1985, 1986, 1987, 1993, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1987, 1993, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/keymap.c b/src/keymap.c
index fa64e88d6e5..ca8edab122b 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -1,7 +1,7 @@
1/* Manipulation of keymaps 1/* Manipulation of keymaps
2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995,
3 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
@@ -69,7 +69,7 @@ Lisp_Object Vminibuffer_local_completion_map;
69/* keymap used for minibuffers when doing completion in filenames */ 69/* keymap used for minibuffers when doing completion in filenames */
70Lisp_Object Vminibuffer_local_filename_completion_map; 70Lisp_Object Vminibuffer_local_filename_completion_map;
71 71
72/* keymap used for minibuffers when doing completion in filenames 72/* keymap used for minibuffers when doing completion in filenames
73 with require-match*/ 73 with require-match*/
74Lisp_Object Vminibuffer_local_must_match_filename_map; 74Lisp_Object Vminibuffer_local_must_match_filename_map;
75 75
@@ -1363,13 +1363,6 @@ silly_event_symbol_error (c)
1363static Lisp_Object *cmm_modes = NULL, *cmm_maps = NULL; 1363static Lisp_Object *cmm_modes = NULL, *cmm_maps = NULL;
1364static int cmm_size = 0; 1364static int cmm_size = 0;
1365 1365
1366/* Error handler used in current_minor_maps. */
1367static Lisp_Object
1368current_minor_maps_error ()
1369{
1370 return Qnil;
1371}
1372
1373/* Store a pointer to an array of the keymaps of the currently active 1366/* Store a pointer to an array of the keymaps of the currently active
1374 minor modes in *buf, and return the number of maps it contains. 1367 minor modes in *buf, and return the number of maps it contains.
1375 1368
@@ -1471,9 +1464,7 @@ current_minor_maps (modeptr, mapptr)
1471 } 1464 }
1472 1465
1473 /* Get the keymap definition--or nil if it is not defined. */ 1466 /* Get the keymap definition--or nil if it is not defined. */
1474 temp = internal_condition_case_1 (Findirect_function, 1467 temp = Findirect_function (XCDR (assoc), Qt);
1475 XCDR (assoc),
1476 Qerror, current_minor_maps_error);
1477 if (!NILP (temp)) 1468 if (!NILP (temp))
1478 { 1469 {
1479 cmm_modes[i] = var; 1470 cmm_modes[i] = var;
@@ -3875,11 +3866,11 @@ don't alter it yourself. */);
3875 Vminibuffer_local_completion_map = Fmake_sparse_keymap (Qnil); 3866 Vminibuffer_local_completion_map = Fmake_sparse_keymap (Qnil);
3876 Fset_keymap_parent (Vminibuffer_local_completion_map, Vminibuffer_local_map); 3867 Fset_keymap_parent (Vminibuffer_local_completion_map, Vminibuffer_local_map);
3877 3868
3878 DEFVAR_LISP ("minibuffer-local-filename-completion-map", 3869 DEFVAR_LISP ("minibuffer-local-filename-completion-map",
3879 &Vminibuffer_local_filename_completion_map, 3870 &Vminibuffer_local_filename_completion_map,
3880 doc: /* Local keymap for minibuffer input with completion for filenames. */); 3871 doc: /* Local keymap for minibuffer input with completion for filenames. */);
3881 Vminibuffer_local_filename_completion_map = Fmake_sparse_keymap (Qnil); 3872 Vminibuffer_local_filename_completion_map = Fmake_sparse_keymap (Qnil);
3882 Fset_keymap_parent (Vminibuffer_local_filename_completion_map, 3873 Fset_keymap_parent (Vminibuffer_local_filename_completion_map,
3883 Vminibuffer_local_completion_map); 3874 Vminibuffer_local_completion_map);
3884 3875
3885 3876
@@ -3889,11 +3880,11 @@ don't alter it yourself. */);
3889 Fset_keymap_parent (Vminibuffer_local_must_match_map, 3880 Fset_keymap_parent (Vminibuffer_local_must_match_map,
3890 Vminibuffer_local_completion_map); 3881 Vminibuffer_local_completion_map);
3891 3882
3892 DEFVAR_LISP ("minibuffer-local-must-match-filename-map", 3883 DEFVAR_LISP ("minibuffer-local-must-match-filename-map",
3893 &Vminibuffer_local_must_match_filename_map, 3884 &Vminibuffer_local_must_match_filename_map,
3894 doc: /* Local keymap for minibuffer input with completion for filenames with exact match. */); 3885 doc: /* Local keymap for minibuffer input with completion for filenames with exact match. */);
3895 Vminibuffer_local_must_match_filename_map = Fmake_sparse_keymap (Qnil); 3886 Vminibuffer_local_must_match_filename_map = Fmake_sparse_keymap (Qnil);
3896 Fset_keymap_parent (Vminibuffer_local_must_match_filename_map, 3887 Fset_keymap_parent (Vminibuffer_local_must_match_filename_map,
3897 Vminibuffer_local_must_match_map); 3888 Vminibuffer_local_must_match_map);
3898 3889
3899 DEFVAR_LISP ("minor-mode-map-alist", &Vminor_mode_map_alist, 3890 DEFVAR_LISP ("minor-mode-map-alist", &Vminor_mode_map_alist,
diff --git a/src/keymap.h b/src/keymap.h
index a6598558a76..3170877f497 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -1,5 +1,6 @@
1/* Functions to manipulate keymaps. 1/* Functions to manipulate keymaps.
2 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2001, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/lastfile.c b/src/lastfile.c
index a229d94fd6a..7c5e067dd02 100644
--- a/src/lastfile.c
+++ b/src/lastfile.c
@@ -1,5 +1,6 @@
1/* Mark end of data space to dump as pure, for GNU Emacs. 1/* Mark end of data space to dump as pure, for GNU Emacs.
2 Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1985, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/lisp.h b/src/lisp.h
index 66dcdeb00da..63c643604d1 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -1,6 +1,6 @@
1/* Fundamental definitions for GNU Emacs Lisp interpreter. 1/* Fundamental definitions for GNU Emacs Lisp interpreter.
2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2000,
3 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -2179,7 +2179,7 @@ EXFUN (Fsymbol_function, 1);
2179EXFUN (Fsymbol_plist, 1); 2179EXFUN (Fsymbol_plist, 1);
2180EXFUN (Fsymbol_name, 1); 2180EXFUN (Fsymbol_name, 1);
2181extern Lisp_Object indirect_function P_ ((Lisp_Object)); 2181extern Lisp_Object indirect_function P_ ((Lisp_Object));
2182EXFUN (Findirect_function, 1); 2182EXFUN (Findirect_function, 2);
2183EXFUN (Ffset, 2); 2183EXFUN (Ffset, 2);
2184EXFUN (Fsetplist, 2); 2184EXFUN (Fsetplist, 2);
2185EXFUN (Fsymbol_value, 1); 2185EXFUN (Fsymbol_value, 1);
diff --git a/src/lread.c b/src/lread.c
index 590ff65bbce..a23278b63ab 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1,7 +1,7 @@
1/* Lisp parsing and input streams. 1/* Lisp parsing and input streams.
2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995,
3 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
@@ -1081,7 +1081,7 @@ openp (path, str, suffixes, storeptr, predicate)
1081 SBYTES (XCAR (tail))); 1081 SBYTES (XCAR (tail)));
1082 } 1082 }
1083 1083
1084 string = filename = Qnil; 1084 string = filename = encoded_fn = Qnil;
1085 GCPRO6 (str, string, filename, path, suffixes, encoded_fn); 1085 GCPRO6 (str, string, filename, path, suffixes, encoded_fn);
1086 1086
1087 if (storeptr) 1087 if (storeptr)
diff --git a/src/m/7300.h b/src/m/7300.h
index bb261c9188a..a8751efa52a 100644
--- a/src/m/7300.h
+++ b/src/m/7300.h
@@ -1,5 +1,6 @@
1/* machine description file for AT&T UNIX PC model 7300 1/* machine description file for AT&T UNIX PC model 7300
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 Modified for this machine by mtxinu!rtech!gonzo!daveb 4 Modified for this machine by mtxinu!rtech!gonzo!daveb
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
diff --git a/src/m/acorn.h b/src/m/acorn.h
index 399fb7c9249..326fb7760ae 100644
--- a/src/m/acorn.h
+++ b/src/m/acorn.h
@@ -1,5 +1,6 @@
1/* Machine description file for Acorn RISCiX machines. 1/* Machine description file for Acorn RISCiX machines.
2 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1994, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/alliant-2800.h b/src/m/alliant-2800.h
index b59322e3d0c..d56624a1eac 100644
--- a/src/m/alliant-2800.h
+++ b/src/m/alliant-2800.h
@@ -1,5 +1,6 @@
1/* alliant-2800.h - Alliant FX/2800 machine running Concentrix 2800. 1/* alliant-2800.h - Alliant FX/2800 machine running Concentrix 2800.
2 Copyright (C) 1990, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1990, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/alliant.h b/src/m/alliant.h
index cbc5734ab31..49459c0b7f7 100644
--- a/src/m/alliant.h
+++ b/src/m/alliant.h
@@ -1,6 +1,6 @@
1/* alliant.h Alliant machine running system version 2 or 3. 1/* alliant.h Alliant machine running system version 2 or 3.
2 Copyright (C) 1985, 1986, 1987, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1987, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 Note that for version 1 of the Alliant system 4 Note that for version 1 of the Alliant system
5 you should use alliant1.h instead of this file. 5 you should use alliant1.h instead of this file.
6 Use alliant4.h for version 4. 6 Use alliant4.h for version 4.
diff --git a/src/m/alpha.h b/src/m/alpha.h
index 41fefaf20fd..47003400846 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -1,6 +1,6 @@
1/* machine description file For the alpha chip. 1/* machine description file For the alpha chip.
2 Copyright (C) 1994, 1997, 1999, 2002, 2003, 2004, 2 Copyright (C) 1994, 1997, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/altos.h b/src/m/altos.h
index 743752d99ec..16e7fb7ce06 100644
--- a/src/m/altos.h
+++ b/src/m/altos.h
@@ -1,6 +1,6 @@
1/* altos machine description file Altos 3068 Unix System V Release 2 1/* altos machine description file Altos 3068 Unix System V Release 2
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/amdahl.h b/src/m/amdahl.h
index 89d4b6cb6f7..e418e3a43bf 100644
--- a/src/m/amdahl.h
+++ b/src/m/amdahl.h
@@ -1,6 +1,6 @@
1/* amdahl machine description file 1/* amdahl machine description file
2 Copyright (C) 1987, 1999, 2002, 2003, 2004, 2 Copyright (C) 1987, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h
index 14ddd16406e..3a1ace91b41 100644
--- a/src/m/amdx86-64.h
+++ b/src/m/amdx86-64.h
@@ -1,5 +1,5 @@
1/* machine description file for AMD x86-64. 1/* machine description file for AMD x86-64.
2 Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
diff --git a/src/m/apollo.h b/src/m/apollo.h
index 4aa62b0b209..d9b3cffdb6d 100644
--- a/src/m/apollo.h
+++ b/src/m/apollo.h
@@ -1,6 +1,6 @@
1/* machine description file for Apollo machine. 1/* machine description file for Apollo machine.
2 Copyright (C) 1985, 1986, 1994, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/arm.h b/src/m/arm.h
index 358445e0649..0a49f0cbd4b 100644
--- a/src/m/arm.h
+++ b/src/m/arm.h
@@ -1,5 +1,6 @@
1/* Machine description file for ARM-based non-RISCiX machines. 1/* Machine description file for ARM-based non-RISCiX machines.
2 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1994, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/att3b.h b/src/m/att3b.h
index 757b47d3f37..049593ebcf4 100644
--- a/src/m/att3b.h
+++ b/src/m/att3b.h
@@ -1,5 +1,6 @@
1/* Machine-dependent configuration for GNU Emacs for AT&T 3b machines. 1/* Machine-dependent configuration for GNU Emacs for AT&T 3b machines.
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4 Modified by David Robinson (daver@csvax.caltech.edu) 6/6/86 5 Modified by David Robinson (daver@csvax.caltech.edu) 6/6/86
5 6
diff --git a/src/m/aviion.h b/src/m/aviion.h
index b9a2932ef07..50355b25bd6 100644
--- a/src/m/aviion.h
+++ b/src/m/aviion.h
@@ -1,6 +1,6 @@
1/* machine description file for Data General AViiON. 1/* machine description file for Data General AViiON.
2 Copyright (C) 1985, 1986, 1991, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1991, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/celerity.h b/src/m/celerity.h
index 639d680afdb..10d38e14c6c 100644
--- a/src/m/celerity.h
+++ b/src/m/celerity.h
@@ -1,6 +1,6 @@
1/* machine description file for Celerity. 1/* machine description file for Celerity.
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/clipper.h b/src/m/clipper.h
index af9f67d8a37..0dfa13382b3 100644
--- a/src/m/clipper.h
+++ b/src/m/clipper.h
@@ -1,6 +1,6 @@
1/* machine description file for clipper 1/* machine description file for clipper
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/cnvrgnt.h b/src/m/cnvrgnt.h
index 48727bedbe3..f8df583657a 100644
--- a/src/m/cnvrgnt.h
+++ b/src/m/cnvrgnt.h
@@ -1,5 +1,6 @@
1/* machine description file for convergent S series. 1/* machine description file for convergent S series.
2 Copyright (C) 1989, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1989, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/convex.h b/src/m/convex.h
index b7fcc71b1c3..fa87d89e3d3 100644
--- a/src/m/convex.h
+++ b/src/m/convex.h
@@ -1,6 +1,6 @@
1/* machine description file for Convex (all models). 1/* machine description file for Convex (all models).
2 Copyright (C) 1987, 1994, 2002, 2003, 2004, 2 Copyright (C) 1987, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/cydra5.h b/src/m/cydra5.h
index 9806fc30a47..a64f4761c25 100644
--- a/src/m/cydra5.h
+++ b/src/m/cydra5.h
@@ -1,6 +1,6 @@
1/* machine description file for Cydrome's CYDRA 5 mini super computer 1/* machine description file for Cydrome's CYDRA 5 mini super computer
2 Copyright (C) 1988, 1999, 2002, 2003, 2004, 2 Copyright (C) 1988, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/delta88k.h b/src/m/delta88k.h
index 517a0f1744b..86e416e887d 100644
--- a/src/m/delta88k.h
+++ b/src/m/delta88k.h
@@ -1,6 +1,6 @@
1/* Machine description file for Motorola System V/88 machines 1/* Machine description file for Motorola System V/88 machines
2 Copyright (C) 1985, 2002, 2003, 2004, 2 Copyright (C) 1985, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/dpx2.h b/src/m/dpx2.h
index 8d1ceb3db06..2a90ff46284 100644
--- a/src/m/dpx2.h
+++ b/src/m/dpx2.h
@@ -1,6 +1,6 @@
1/* machine description for Bull DPX/2 range 1/* machine description for Bull DPX/2 range
2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/dual.h b/src/m/dual.h
index 134a5e7720e..d02ac5bc38e 100644
--- a/src/m/dual.h
+++ b/src/m/dual.h
@@ -1,6 +1,6 @@
1/* machine description file for Dual machines using unisoft port. 1/* machine description file for Dual machines using unisoft port.
2 Copyright (C) 1985, 2002, 2003, 2004, 2 Copyright (C) 1985, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/elxsi.h b/src/m/elxsi.h
index f702dcf0de2..0cb0c5513bf 100644
--- a/src/m/elxsi.h
+++ b/src/m/elxsi.h
@@ -1,6 +1,6 @@
1/* machine description file for Elxsi machine (running enix). 1/* machine description file for Elxsi machine (running enix).
2 Copyright (C) 1986, 1992, 2002, 2003, 2004, 2 Copyright (C) 1986, 1992, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 Adapted by John Salmon 4 Adapted by John Salmon
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
diff --git a/src/m/ews4800.h b/src/m/ews4800.h
index b377bdeddaa..9db133ba682 100644
--- a/src/m/ews4800.h
+++ b/src/m/ews4800.h
@@ -1,6 +1,6 @@
1/* m- file for NEC EWS4800 RISC series. 1/* m- file for NEC EWS4800 RISC series.
2 Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/gould-np1.h b/src/m/gould-np1.h
index 1c784f28f4e..272a06cf305 100644
--- a/src/m/gould-np1.h
+++ b/src/m/gould-np1.h
@@ -1,5 +1,6 @@
1/* machine description file for Gould NP1 with UTX/32 3.0 (first release for NP1) 1/* machine description file for Gould NP1 with UTX/32 3.0 (first release for NP1)
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/gould.h b/src/m/gould.h
index a9168009d47..3b5f1494e78 100644
--- a/src/m/gould.h
+++ b/src/m/gould.h
@@ -5,7 +5,8 @@
5* RELEASE2_1 in config.h. This may also be necessary with un-updated 5* RELEASE2_1 in config.h. This may also be necessary with un-updated
6* official releases of 2.1 6* official releases of 2.1
7 7
8 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 8 Copyright (C) 1986, 2002, 2003, 2004, 2005,
9 2006 Free Software Foundation, Inc.
9 10
10This file is part of GNU Emacs. 11This file is part of GNU Emacs.
11 12
diff --git a/src/m/hp800.h b/src/m/hp800.h
index 2f661989a15..01146e52359 100644
--- a/src/m/hp800.h
+++ b/src/m/hp800.h
@@ -1,5 +1,6 @@
1/* machine description file for hp9000 series 800 machines. 1/* machine description file for hp9000 series 800 machines.
2 Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1987, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/hp9000s300.h b/src/m/hp9000s300.h
index e0b3a5ce5c3..9760b9bd2ed 100644
--- a/src/m/hp9000s300.h
+++ b/src/m/hp9000s300.h
@@ -1,5 +1,6 @@
1/* machine description file for hp9000 series 200 or 300 on either HPUX or BSD. 1/* machine description file for hp9000 series 200 or 300 on either HPUX or BSD.
2 Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1985, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/i860.h b/src/m/i860.h
index 0ecf9e62087..d74a01a889c 100644
--- a/src/m/i860.h
+++ b/src/m/i860.h
@@ -1,6 +1,6 @@
1/* machine description file for i860. 1/* machine description file for i860.
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/ia64.h b/src/m/ia64.h
index af790946afa..560cd30f599 100644
--- a/src/m/ia64.h
+++ b/src/m/ia64.h
@@ -1,5 +1,6 @@
1/* machine description file for the IA-64 architecture. 1/* machine description file for the IA-64 architecture.
2 Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2000, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 Contributed by David Mosberger <davidm@hpl.hp.com> 4 Contributed by David Mosberger <davidm@hpl.hp.com>
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
diff --git a/src/m/ibm370aix.h b/src/m/ibm370aix.h
index 3d954ae9d19..1a9ed6efe11 100644
--- a/src/m/ibm370aix.h
+++ b/src/m/ibm370aix.h
@@ -1,6 +1,6 @@
1/* m/ file for IBM 370 running AIX. 1/* m/ file for IBM 370 running AIX.
2 Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/ibmps2-aix.h b/src/m/ibmps2-aix.h
index 539de924d17..ea895cd4fd8 100644
--- a/src/m/ibmps2-aix.h
+++ b/src/m/ibmps2-aix.h
@@ -1,5 +1,6 @@
1/* machine description file for ibm ps/2 aix386. 1/* machine description file for ibm ps/2 aix386.
2 Copyright (C) 1989, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1989, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h
index 0ff702d090d..3d3e45eda81 100644
--- a/src/m/ibmrs6000.h
+++ b/src/m/ibmrs6000.h
@@ -1,5 +1,6 @@
1/* R2 AIX machine/system dependent defines 1/* R2 AIX machine/system dependent defines
2 Copyright (C) 1988, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1988, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/ibmrt-aix.h b/src/m/ibmrt-aix.h
index 44bfd77c1d0..43e11b36428 100644
--- a/src/m/ibmrt-aix.h
+++ b/src/m/ibmrt-aix.h
@@ -1,6 +1,6 @@
1/* RTPC AIX machine/system dependent defines 1/* RTPC AIX machine/system dependent defines
2 Copyright (C) 1988, 1999, 2002, 2003, 2004, 2 Copyright (C) 1988, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/ibmrt.h b/src/m/ibmrt.h
index f6c23d9d919..e78d182940c 100644
--- a/src/m/ibmrt.h
+++ b/src/m/ibmrt.h
@@ -1,5 +1,6 @@
1/* RTPC machine dependent defines 1/* RTPC machine dependent defines
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/ibms390.h b/src/m/ibms390.h
index 323ef33f633..d60b33fdd04 100644
--- a/src/m/ibms390.h
+++ b/src/m/ibms390.h
@@ -1,6 +1,6 @@
1/* machine description file template. 1/* machine description file template.
2 Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/intel386.h b/src/m/intel386.h
index 238015fd345..0d2aacf8d19 100644
--- a/src/m/intel386.h
+++ b/src/m/intel386.h
@@ -1,5 +1,6 @@
1/* Machine description file for intel 386. 1/* Machine description file for intel 386.
2 Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1987, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/iris4d.h b/src/m/iris4d.h
index 93fe2062674..bc8d1242710 100644
--- a/src/m/iris4d.h
+++ b/src/m/iris4d.h
@@ -1,5 +1,6 @@
1/* machine description file for Iris-4D machines. Use with s/irix*.h. 1/* machine description file for Iris-4D machines. Use with s/irix*.h.
2 Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1987, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/irist.h b/src/m/irist.h
index b40ffb5dff9..a366b521a9a 100644
--- a/src/m/irist.h
+++ b/src/m/irist.h
@@ -1,7 +1,7 @@
1/* machine description file for Silicon Graphics Iris 2500 Turbos; 1/* machine description file for Silicon Graphics Iris 2500 Turbos;
2 also possibly for non-turbo Irises with system release 2.5. 2 also possibly for non-turbo Irises with system release 2.5.
3 Copyright (C) 1985, 1986, 2002, 2003, 2004, 3 Copyright (C) 1985, 1986, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/m/isi-ov.h b/src/m/isi-ov.h
index 416335d1bff..5b6c3cd0214 100644
--- a/src/m/isi-ov.h
+++ b/src/m/isi-ov.h
@@ -1,6 +1,6 @@
1/* machine description file for ISI 68000's 1/* machine description file for ISI 68000's
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/m68k.h b/src/m/m68k.h
index 7b2ffa81351..31307ffa499 100644
--- a/src/m/m68k.h
+++ b/src/m/m68k.h
@@ -1,6 +1,6 @@
1/* Machine description file for generic Motorola 68k. 1/* Machine description file for generic Motorola 68k.
2 Copyright (C) 1985, 1995, 2002, 2003, 2004, 2 Copyright (C) 1985, 1995, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/macppc.h b/src/m/macppc.h
index 9e4297df3b7..25005888c77 100644
--- a/src/m/macppc.h
+++ b/src/m/macppc.h
@@ -1,6 +1,6 @@
1/* machine description file For the powerpc Macintosh. 1/* machine description file For the powerpc Macintosh.
2 Copyright (C) 1994, 2001, 2002, 2003, 2004, 2 Copyright (C) 1994, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/masscomp.h b/src/m/masscomp.h
index 01fddc751f1..df0d9a1aa1a 100644
--- a/src/m/masscomp.h
+++ b/src/m/masscomp.h
@@ -1,5 +1,6 @@
1/* machine description file for Masscomp 5000 series running RTU, ucb universe. 1/* machine description file for Masscomp 5000 series running RTU, ucb universe.
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/mega68.h b/src/m/mega68.h
index ef1623ca460..7db67fa0cca 100644
--- a/src/m/mega68.h
+++ b/src/m/mega68.h
@@ -1,5 +1,6 @@
1/* machine description file for Megatest 68000's. 1/* machine description file for Megatest 68000's.
2 Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1985, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/mg1.h b/src/m/mg1.h
index 4e4b3525d6e..92e358837c4 100644
--- a/src/m/mg1.h
+++ b/src/m/mg1.h
@@ -1,5 +1,6 @@
1/* machine description file for Whitechapel Computer Works MG1 (ns16000 based). 1/* machine description file for Whitechapel Computer Works MG1 (ns16000 based).
2 Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1985, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 MG-1 version by L.M.McLoughlin 4 MG-1 version by L.M.McLoughlin
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
diff --git a/src/m/mips-siemens.h b/src/m/mips-siemens.h
index fc1a8a2e0d6..27274c8b527 100644
--- a/src/m/mips-siemens.h
+++ b/src/m/mips-siemens.h
@@ -1,6 +1,6 @@
1/* m- file for Mips machines. 1/* m- file for Mips machines.
2 Copyright (C) 1987, 1992, 1993, 1995, 2002, 2003, 2004, 2 Copyright (C) 1987, 1992, 1993, 1995, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5 This file contains some changes for our SVR4 based SINIX-Mips 5.4. 5 This file contains some changes for our SVR4 based SINIX-Mips 5.4.
6 I hope this is helpful to port the emacs to our RM?00 series and 6 I hope this is helpful to port the emacs to our RM?00 series and
diff --git a/src/m/mips.h b/src/m/mips.h
index 28a35e02677..dc45a99d06b 100644
--- a/src/m/mips.h
+++ b/src/m/mips.h
@@ -1,6 +1,6 @@
1/* m- file for Mips machines. 1/* m- file for Mips machines.
2 Copyright (C) 1987, 1992, 1999, 2002, 2003, 2004, 2 Copyright (C) 1987, 1992, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/news.h b/src/m/news.h
index dec413c3f9e..5ac2cd6b6dc 100644
--- a/src/m/news.h
+++ b/src/m/news.h
@@ -1,6 +1,6 @@
1/* machine description file for Sony's NEWS workstations, NEWS-OS 3.0. 1/* machine description file for Sony's NEWS workstations, NEWS-OS 3.0.
2 Copyright (C) 1985, 1986, 1989, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1989, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/next.h b/src/m/next.h
index dfb3cd11cbf..b519e41920d 100644
--- a/src/m/next.h
+++ b/src/m/next.h
@@ -1,5 +1,6 @@
1/* Configuration file for the NeXT machine. 1/* Configuration file for the NeXT machine.
2 Copyright (C) 1990, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1990, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/nh3000.h b/src/m/nh3000.h
index 42255473020..ad2d8dd1340 100644
--- a/src/m/nh3000.h
+++ b/src/m/nh3000.h
@@ -1,7 +1,8 @@
1/* machine description for Harris Night Hawk Series 1200 and Series 3000 1/* machine description for Harris Night Hawk Series 1200 and Series 3000
2 MC68030-based systems (FPP on these is custom). These systems are 2 MC68030-based systems (FPP on these is custom). These systems are
3 also known as "ecx" and "gcx". 3 also known as "ecx" and "gcx".
4 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4 Copyright (C) 1994, 2002, 2003, 2004, 2005,
5 2006 Free Software Foundation, Inc.
5 6
6This file is part of GNU Emacs. 7This file is part of GNU Emacs.
7 8
diff --git a/src/m/nh4000.h b/src/m/nh4000.h
index 04068f0c065..1c0bc51c896 100644
--- a/src/m/nh4000.h
+++ b/src/m/nh4000.h
@@ -1,6 +1,7 @@
1/* machine description for Harris NightHawk 88k based machines 1/* machine description for Harris NightHawk 88k based machines
2 (includes nh4000 and nh5000 machines). 2 (includes nh4000 and nh5000 machines).
3 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 Copyright (C) 1994, 2002, 2003, 2004, 2005,
4 2006 Free Software Foundation, Inc.
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
6 7
diff --git a/src/m/ns16000.h b/src/m/ns16000.h
index 49f514ced06..5e9793a44b8 100644
--- a/src/m/ns16000.h
+++ b/src/m/ns16000.h
@@ -1,5 +1,6 @@
1/* machine description file for ns16000. 1/* machine description file for ns16000.
2 Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1985, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/ns32000.h b/src/m/ns32000.h
index 858630b74ab..33e48d297bc 100644
--- a/src/m/ns32000.h
+++ b/src/m/ns32000.h
@@ -1,6 +1,6 @@
1/* machine description file for National Semiconductor 32000, running Genix. 1/* machine description file for National Semiconductor 32000, running Genix.
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/nu.h b/src/m/nu.h
index 1e5518e451f..ec051150bdf 100644
--- a/src/m/nu.h
+++ b/src/m/nu.h
@@ -1,5 +1,6 @@
1/* machine description file for TI Nu machines using system V. 1/* machine description file for TI Nu machines using system V.
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/orion.h b/src/m/orion.h
index a73b357d50f..3db485dd3f1 100644
--- a/src/m/orion.h
+++ b/src/m/orion.h
@@ -1,5 +1,6 @@
1/* machine description file for HLH Orion. 1/* machine description file for HLH Orion.
2 Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1985, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/orion105.h b/src/m/orion105.h
index e75a8e67a84..66f87748099 100644
--- a/src/m/orion105.h
+++ b/src/m/orion105.h
@@ -1,5 +1,6 @@
1/* machine description file for HLH Orion 1/05 (Clipper). 1/* machine description file for HLH Orion 1/05 (Clipper).
2 Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1985, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 Lee McLoughlin <lmjm%doc.imperial.ac.uk@nss.cs.ucl.ac.uk> 4 Lee McLoughlin <lmjm%doc.imperial.ac.uk@nss.cs.ucl.ac.uk>
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
diff --git a/src/m/pfa50.h b/src/m/pfa50.h
index 50e79b623ca..85d281073f1 100644
--- a/src/m/pfa50.h
+++ b/src/m/pfa50.h
@@ -1,6 +1,6 @@
1/* Machine description file for PFU A-series. 1/* Machine description file for PFU A-series.
2 Copyright (C) 1988, 1999, 2002, 2003, 2004, 2 Copyright (C) 1988, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/plexus.h b/src/m/plexus.h
index 10826a70bc2..8b3e9be7849 100644
--- a/src/m/plexus.h
+++ b/src/m/plexus.h
@@ -1,5 +1,6 @@
1/* machine description file for the Plexus running System V.2. 1/* machine description file for the Plexus running System V.2.
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/powermac.h b/src/m/powermac.h
index 14b2e110734..232e424da35 100644
--- a/src/m/powermac.h
+++ b/src/m/powermac.h
@@ -1,5 +1,5 @@
1/* Machine description file for Apple Power Macintosh 1/* Machine description file for Apple Power Macintosh
2 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
diff --git a/src/m/powerpcle.h b/src/m/powerpcle.h
index 1dfd2df25b4..b4681db06bd 100644
--- a/src/m/powerpcle.h
+++ b/src/m/powerpcle.h
@@ -1,5 +1,6 @@
1/* machine description file for PowerPC. 1/* machine description file for PowerPC.
2 Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1987, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/pyramid.h b/src/m/pyramid.h
index 12010087a58..2dbd713f881 100644
--- a/src/m/pyramid.h
+++ b/src/m/pyramid.h
@@ -1,6 +1,6 @@
1/* machine description file for pyramid. 1/* machine description file for pyramid.
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/sequent-ptx.h b/src/m/sequent-ptx.h
index 3c22639e3b2..dbb0944a330 100644
--- a/src/m/sequent-ptx.h
+++ b/src/m/sequent-ptx.h
@@ -1,6 +1,6 @@
1/* machine description file for SEQUENT machines running DYNIX/ptx 1/* machine description file for SEQUENT machines running DYNIX/ptx
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/sequent.h b/src/m/sequent.h
index f082880b4fc..e970275901c 100644
--- a/src/m/sequent.h
+++ b/src/m/sequent.h
@@ -1,6 +1,6 @@
1/* machine description file for SEQUENT BALANCE machines 1/* machine description file for SEQUENT BALANCE machines
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/sparc.h b/src/m/sparc.h
index 20ec53c1344..c9ef035653b 100644
--- a/src/m/sparc.h
+++ b/src/m/sparc.h
@@ -1,5 +1,6 @@
1/* machine description file for Sun 4 SPARC. 1/* machine description file for Sun 4 SPARC.
2 Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1987, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/sps7.h b/src/m/sps7.h
index 422d2470aaa..52edc570f92 100644
--- a/src/m/sps7.h
+++ b/src/m/sps7.h
@@ -1,6 +1,6 @@
1/* machine description file for Bull SPS-7. 1/* machine description file for Bull SPS-7.
2 Copyright (C) 1986, 1999, 2002, 2003, 2004, 2 Copyright (C) 1986, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/sr2k.h b/src/m/sr2k.h
index 875f428dc1f..14a90c666f4 100644
--- a/src/m/sr2k.h
+++ b/src/m/sr2k.h
@@ -1,5 +1,6 @@
1/* machine description file for Hitachi SR2001/SR2201 machines. 1/* machine description file for Hitachi SR2001/SR2201 machines.
2 Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1996, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/stride.h b/src/m/stride.h
index ff900d49b38..6f05b17d96e 100644
--- a/src/m/stride.h
+++ b/src/m/stride.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on Stride Micro System-V.2.2 1/* Definitions file for GNU Emacs running on Stride Micro System-V.2.2
2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/sun1.h b/src/m/sun1.h
index 810bad7fd58..5ded70a9e47 100644
--- a/src/m/sun1.h
+++ b/src/m/sun1.h
@@ -1,6 +1,6 @@
1/* machine description file for Sun 68000's 1/* machine description file for Sun 68000's
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/sun2.h b/src/m/sun2.h
index 9df032049e3..1afa4a2fa63 100644
--- a/src/m/sun2.h
+++ b/src/m/sun2.h
@@ -2,7 +2,7 @@
2 Note that "sun2.h" refers to the operating system version, not the 2 Note that "sun2.h" refers to the operating system version, not the
3 CPU model number. See the MACHINES file for details. 3 CPU model number. See the MACHINES file for details.
4 Copyright (C) 1985, 1986, 2002, 2003, 2004, 4 Copyright (C) 1985, 1986, 2002, 2003, 2004,
5 2005 Free Software Foundation, Inc. 5 2005, 2006 Free Software Foundation, Inc.
6 6
7This file is part of GNU Emacs. 7This file is part of GNU Emacs.
8 8
diff --git a/src/m/sun386.h b/src/m/sun386.h
index 5970f90b98b..435c1ded6d2 100644
--- a/src/m/sun386.h
+++ b/src/m/sun386.h
@@ -1,8 +1,9 @@
1/* machine description file for Sun's 386-based RoadRunner. This file borrows heavily from 1/* machine description file for Sun's 386-based RoadRunner. This file borrows heavily from
2 "sun2.h", but since that file is heavily cpu-specific, it was easier 2 "sun2.h", but since that file is heavily cpu-specific, it was easier
3 not to include it. 3 not to include it.
4 4
5 Copyright (C) 1988, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 5 Copyright (C) 1988, 2002, 2003, 2004, 2005,
6 2006 Free Software Foundation, Inc.
6 7
7This file is part of GNU Emacs. 8This file is part of GNU Emacs.
8 9
diff --git a/src/m/symmetry.h b/src/m/symmetry.h
index 4954f596442..91209d0eb67 100644
--- a/src/m/symmetry.h
+++ b/src/m/symmetry.h
@@ -1,6 +1,6 @@
1/* machine description file for SEQUENT SYMMETRY machines 1/* machine description file for SEQUENT SYMMETRY machines
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/tad68k.h b/src/m/tad68k.h
index b8b3859f407..fce223da826 100644
--- a/src/m/tad68k.h
+++ b/src/m/tad68k.h
@@ -1,5 +1,6 @@
1/* Machine-dependent configuration for GNU Emacs for Tadpole 68k machines 1/* Machine-dependent configuration for GNU Emacs for Tadpole 68k machines
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/tahoe.h b/src/m/tahoe.h
index 47db3f93deb..07ec23c7bb6 100644
--- a/src/m/tahoe.h
+++ b/src/m/tahoe.h
@@ -1,5 +1,6 @@
1/* machine description file for tahoe. 1/* machine description file for tahoe.
2 Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1985, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/targon31.h b/src/m/targon31.h
index 5ac18648387..7100e0e8705 100644
--- a/src/m/targon31.h
+++ b/src/m/targon31.h
@@ -1,6 +1,6 @@
1/* targon31 machine description file 1/* targon31 machine description file
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/tek4300.h b/src/m/tek4300.h
index a84135291cb..3ff3ca4a6a0 100644
--- a/src/m/tek4300.h
+++ b/src/m/tek4300.h
@@ -1,5 +1,6 @@
1/* machine description file for tek4300. 1/* machine description file for tek4300.
2 Copyright (C) 1988, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1988, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/tekxd88.h b/src/m/tekxd88.h
index 4db981a8096..24c10330363 100644
--- a/src/m/tekxd88.h
+++ b/src/m/tekxd88.h
@@ -1,7 +1,8 @@
1/* Configuration file for the Tektronix XD88 running UTekV 3.2e, 1/* Configuration file for the Tektronix XD88 running UTekV 3.2e,
2 contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93. 2 contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93.
3 You probably need to use gnu make (version 3.63 or higher.) 3 You probably need to use gnu make (version 3.63 or higher.)
4 Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4 Copyright (C) 1993, 2002, 2003, 2004, 2005,
5 2006 Free Software Foundation, Inc.
5 6
6This file is part of GNU Emacs. 7This file is part of GNU Emacs.
7 8
diff --git a/src/m/template.h b/src/m/template.h
index c7ce2c2cb1f..2b39964018a 100644
--- a/src/m/template.h
+++ b/src/m/template.h
@@ -1,6 +1,6 @@
1/* machine description file template. 1/* machine description file template.
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/tower32.h b/src/m/tower32.h
index cd4ab96de11..06ed7efe5d7 100644
--- a/src/m/tower32.h
+++ b/src/m/tower32.h
@@ -1,5 +1,6 @@
1/* machine description file for the NCR Tower 32 running System V.2. 1/* machine description file for the NCR Tower 32 running System V.2.
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/tower32v3.h b/src/m/tower32v3.h
index 2c1e55c0023..8f5c60cd7c8 100644
--- a/src/m/tower32v3.h
+++ b/src/m/tower32v3.h
@@ -1,5 +1,6 @@
1/* machine description file for the NCR Tower 32 running System V.3. 1/* machine description file for the NCR Tower 32 running System V.3.
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/ustation.h b/src/m/ustation.h
index c62d37d6429..0a70df92233 100644
--- a/src/m/ustation.h
+++ b/src/m/ustation.h
@@ -1,6 +1,6 @@
1/* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30). 1/* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30).
2 Copyright (C) 1986, 1999, 2002, 2003, 2004, 2 Copyright (C) 1986, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/vax.h b/src/m/vax.h
index d414d6b57e7..9332b8f494d 100644
--- a/src/m/vax.h
+++ b/src/m/vax.h
@@ -1,6 +1,6 @@
1/* machine description file for vax. 1/* machine description file for vax.
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/m/wicat.h b/src/m/wicat.h
index 78842f32a43..24bb2acd210 100644
--- a/src/m/wicat.h
+++ b/src/m/wicat.h
@@ -1,5 +1,6 @@
1/* machine description file for WICAT machines. 1/* machine description file for WICAT machines.
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/m/windowsnt.h b/src/m/windowsnt.h
index cf48ca8aa88..4351f14144f 100644
--- a/src/m/windowsnt.h
+++ b/src/m/windowsnt.h
@@ -1,7 +1,7 @@
1/* Machine description file for Windows NT. 1/* Machine description file for Windows NT.
2 2
3 Copyright (C) 1993, 1994, 2002, 2003, 2004, 3 Copyright (C) 1993, 1994, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/m/xps100.h b/src/m/xps100.h
index 3a851aa9ebd..a9ac9bc5e36 100644
--- a/src/m/xps100.h
+++ b/src/m/xps100.h
@@ -2,7 +2,7 @@
2 Mark J. Hewitt (mjh@uk.co.kernel) 2 Mark J. Hewitt (mjh@uk.co.kernel)
3 3
4 Copyright (C) 1985, 1986, 2002, 2003, 2004, 4 Copyright (C) 1985, 1986, 2002, 2003, 2004,
5 2005 Free Software Foundation, Inc. 5 2005, 2006 Free Software Foundation, Inc.
6 6
7This file is part of GNU Emacs. 7This file is part of GNU Emacs.
8 8
diff --git a/src/mac.c b/src/mac.c
index 5a56bd57817..a71194f9aee 100644
--- a/src/mac.c
+++ b/src/mac.c
@@ -1,6 +1,6 @@
1/* Unix emulation routines for GNU Emacs on the Mac OS. 1/* Unix emulation routines for GNU Emacs on the Mac OS.
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/macfns.c b/src/macfns.c
index 110b697ce5e..b6ef85bcd9f 100644
--- a/src/macfns.c
+++ b/src/macfns.c
@@ -1,6 +1,6 @@
1/* Graphical user interface functions for Mac OS. 1/* Graphical user interface functions for Mac OS.
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -1448,7 +1448,8 @@ x_set_mouse_color (f, arg, oldval)
1448 1448
1449 BLOCK_INPUT; 1449 BLOCK_INPUT;
1450 1450
1451 rif->define_frame_cursor (f, cursor); 1451 if (FRAME_MAC_WINDOW (f) != 0)
1452 rif->define_frame_cursor (f, cursor);
1452 1453
1453 f->output_data.mac->text_cursor = cursor; 1454 f->output_data.mac->text_cursor = cursor;
1454 f->output_data.mac->nontext_cursor = nontext_cursor; 1455 f->output_data.mac->nontext_cursor = nontext_cursor;
@@ -2398,11 +2399,12 @@ This function is an internal primitive--use `make-frame' instead. */)
2398 struct mac_display_info *dpyinfo = NULL; 2399 struct mac_display_info *dpyinfo = NULL;
2399 Lisp_Object parent; 2400 Lisp_Object parent;
2400 struct kboard *kb; 2401 struct kboard *kb;
2401 char x_frame_name[10];
2402 static int x_frame_count = 2; /* begins at 2 because terminal frame is F1 */ 2402 static int x_frame_count = 2; /* begins at 2 because terminal frame is F1 */
2403 2403
2404 check_mac (); 2404 check_mac ();
2405 2405
2406 parms = Fcopy_alist (parms);
2407
2406 /* Use this general default value to start with 2408 /* Use this general default value to start with
2407 until we know if this frame has a specified name. */ 2409 until we know if this frame has a specified name. */
2408 Vx_resource_name = Vinvocation_name; 2410 Vx_resource_name = Vinvocation_name;
@@ -2452,18 +2454,6 @@ This function is an internal primitive--use `make-frame' instead. */)
2452 else 2454 else
2453 f = make_frame (1); 2455 f = make_frame (1);
2454 2456
2455 if (EQ (name, Qunbound) || NILP (name))
2456 {
2457 sprintf (x_frame_name, "F%d", x_frame_count++);
2458 f->name = build_string (x_frame_name);
2459 f->explicit_name = 0;
2460 }
2461 else
2462 {
2463 f->name = name;
2464 f->explicit_name = 1;
2465 }
2466
2467 XSETFRAME (frame, f); 2457 XSETFRAME (frame, f);
2468 2458
2469 /* Note that X Windows does support scroll bars. */ 2459 /* Note that X Windows does support scroll bars. */
@@ -2544,7 +2534,7 @@ This function is an internal primitive--use `make-frame' instead. */)
2544 font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); 2534 font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1");
2545 /* If those didn't work, look for something which will at least work. */ 2535 /* If those didn't work, look for something which will at least work. */
2546 if (! STRINGP (font)) 2536 if (! STRINGP (font))
2547 font = x_new_fontset (f, "fontset-mac"); 2537 font = x_new_fontset (f, "fontset-standard");
2548 if (! STRINGP (font)) 2538 if (! STRINGP (font))
2549 font = x_new_font (f, "-*-monaco-*-12-*-mac-roman"); 2539 font = x_new_font (f, "-*-monaco-*-12-*-mac-roman");
2550 if (! STRINGP (font)) 2540 if (! STRINGP (font))
@@ -2679,17 +2669,28 @@ This function is an internal primitive--use `make-frame' instead. */)
2679 if (EQ (visibility, Qunbound)) 2669 if (EQ (visibility, Qunbound))
2680 visibility = Qt; 2670 visibility = Qt;
2681 2671
2682#if 0 /* MAC_TODO: really no iconify on Mac */
2683 if (EQ (visibility, Qicon)) 2672 if (EQ (visibility, Qicon))
2684 x_iconify_frame (f); 2673 x_iconify_frame (f);
2685 else 2674 else if (! NILP (visibility))
2686#endif
2687 if (! NILP (visibility))
2688 x_make_frame_visible (f); 2675 x_make_frame_visible (f);
2689 else 2676 else
2690 /* Must have been Qnil. */ 2677 /* Must have been Qnil. */
2691 ; 2678 ;
2692 } 2679 }
2680
2681 /* Initialize `default-minibuffer-frame' in case this is the first
2682 frame on this display device. */
2683 if (FRAME_HAS_MINIBUF_P (f)
2684 && (!FRAMEP (kb->Vdefault_minibuffer_frame)
2685 || !FRAME_LIVE_P (XFRAME (kb->Vdefault_minibuffer_frame))))
2686 kb->Vdefault_minibuffer_frame = frame;
2687
2688 /* All remaining specified parameters, which have not been "used"
2689 by x_get_arg and friends, now go in the misc. alist of the frame. */
2690 for (tem = parms; !NILP (tem); tem = XCDR (tem))
2691 if (CONSP (XCAR (tem)) && !NILP (XCAR (XCAR (tem))))
2692 f->param_alist = Fcons (XCAR (tem), f->param_alist);
2693
2693 UNGCPRO; 2694 UNGCPRO;
2694 2695
2695 /* Make sure windows on this frame appear in calls to next-window 2696 /* Make sure windows on this frame appear in calls to next-window
@@ -2699,9 +2700,11 @@ This function is an internal primitive--use `make-frame' instead. */)
2699 return unbind_to (count, frame); 2700 return unbind_to (count, frame);
2700} 2701}
2701 2702
2703
2702/* FRAME is used only to get a handle on the X display. We don't pass the 2704/* FRAME is used only to get a handle on the X display. We don't pass the
2703 display info directly because we're called from frame.c, which doesn't 2705 display info directly because we're called from frame.c, which doesn't
2704 know about that structure. */ 2706 know about that structure. */
2707
2705Lisp_Object 2708Lisp_Object
2706x_get_focus_frame (frame) 2709x_get_focus_frame (frame)
2707 struct frame *frame; 2710 struct frame *frame;
@@ -2714,6 +2717,39 @@ x_get_focus_frame (frame)
2714 XSETFRAME (xfocus, dpyinfo->x_focus_frame); 2717 XSETFRAME (xfocus, dpyinfo->x_focus_frame);
2715 return xfocus; 2718 return xfocus;
2716} 2719}
2720
2721
2722DEFUN ("x-focus-frame", Fx_focus_frame, Sx_focus_frame, 1, 1, 0,
2723 doc: /* Set the input focus to FRAME.
2724FRAME nil means use the selected frame. */)
2725 (frame)
2726 Lisp_Object frame;
2727{
2728 struct frame *f = check_x_frame (frame);
2729 struct mac_display_info *dpyinfo = FRAME_MAC_DISPLAY_INFO (f);
2730
2731 if (dpyinfo->x_focus_frame != f)
2732 {
2733 BLOCK_INPUT;
2734#ifdef MAC_OSX
2735 ActivateWindow (ActiveNonFloatingWindow (), false);
2736 ActivateWindow (FRAME_MAC_WINDOW (f), true);
2737#else
2738#if !TARGET_API_MAC_CARBON
2739 /* SelectWindow (Non-Carbon) does not issue deactivate events if
2740 the possibly inactive window that is to be selected is
2741 already the frontmost one. */
2742 SendBehind (FRAME_MAC_WINDOW (f), NULL);
2743#endif
2744 /* This brings the window to the front. */
2745 SelectWindow (FRAME_MAC_WINDOW (f));
2746#endif
2747 UNBLOCK_INPUT;
2748 }
2749
2750 return Qnil;
2751}
2752
2717 2753
2718DEFUN ("xw-color-defined-p", Fxw_color_defined_p, Sxw_color_defined_p, 1, 2, 0, 2754DEFUN ("xw-color-defined-p", Fxw_color_defined_p, Sxw_color_defined_p, 1, 2, 0,
2719 doc: /* Internal function called by `color-defined-p', which see. */) 2755 doc: /* Internal function called by `color-defined-p', which see. */)
@@ -3664,7 +3700,7 @@ x_create_tip_frame (dpyinfo, parms, text)
3664 font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); 3700 font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1");
3665 /* If those didn't work, look for something which will at least work. */ 3701 /* If those didn't work, look for something which will at least work. */
3666 if (! STRINGP (font)) 3702 if (! STRINGP (font))
3667 font = x_new_fontset (f, "fontset-mac"); 3703 font = x_new_fontset (f, "fontset-standard");
3668 if (! STRINGP (font)) 3704 if (! STRINGP (font))
3669 font = x_new_font (f, "-*-monaco-*-12-*-mac-roman"); 3705 font = x_new_font (f, "-*-monaco-*-12-*-mac-roman");
3670 if (! STRINGP (font)) 3706 if (! STRINGP (font))
@@ -4513,6 +4549,7 @@ Chinese, Japanese, and Korean. */);
4513 defsubr (&Sx_close_connection); 4549 defsubr (&Sx_close_connection);
4514 defsubr (&Sx_display_list); 4550 defsubr (&Sx_display_list);
4515 defsubr (&Sx_synchronize); 4551 defsubr (&Sx_synchronize);
4552 defsubr (&Sx_focus_frame);
4516 4553
4517 /* Setting callback functions for fontset handler. */ 4554 /* Setting callback functions for fontset handler. */
4518 get_font_info_func = x_get_font_info; 4555 get_font_info_func = x_get_font_info;
diff --git a/src/macgui.h b/src/macgui.h
index 74c64bfb41d..cfe35e82945 100644
--- a/src/macgui.h
+++ b/src/macgui.h
@@ -1,6 +1,6 @@
1/* Definitions and headers for communication on the Mac OS. 1/* Definitions and headers for communication on the Mac OS.
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/macmenu.c b/src/macmenu.c
index 1b132407df7..91cf28f7456 100644
--- a/src/macmenu.c
+++ b/src/macmenu.c
@@ -1,6 +1,6 @@
1/* Menu support for GNU Emacs on Mac OS. 1/* Menu support for GNU Emacs on Mac OS.
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/macros.c b/src/macros.c
index 8167e274dab..ef3ff8c0523 100644
--- a/src/macros.c
+++ b/src/macros.c
@@ -1,6 +1,6 @@
1/* Keyboard macros. 1/* Keyboard macros.
2 Copyright (C) 1985, 1986, 1993, 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1993, 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/macros.h b/src/macros.h
index 7acd46dc2ed..bdd510456b0 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -1,5 +1,6 @@
1/* Definitions for keyboard macro interpretation in GNU Emacs. 1/* Definitions for keyboard macro interpretation in GNU Emacs.
2 Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1985, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/macterm.c b/src/macterm.c
index 218b1652df2..a0c4f298e66 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -1,6 +1,6 @@
1/* Implementation of GUI terminal on the Mac OS. 1/* Implementation of GUI terminal on the Mac OS.
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -1026,12 +1026,15 @@ static int cg_text_anti_aliasing_threshold = 8;
1026static void 1026static void
1027init_cg_text_anti_aliasing_threshold () 1027init_cg_text_anti_aliasing_threshold ()
1028{ 1028{
1029 Lisp_Object val = 1029 int threshold;
1030 Fmac_get_preference (build_string ("AppleAntiAliasingThreshold"), 1030 Boolean valid_p;
1031 Qnil, Qnil, Qnil);
1032 1031
1033 if (INTEGERP (val)) 1032 threshold =
1034 cg_text_anti_aliasing_threshold = XINT (val); 1033 CFPreferencesGetAppIntegerValue (CFSTR ("AppleAntiAliasingThreshold"),
1034 kCFPreferencesCurrentApplication,
1035 &valid_p);
1036 if (valid_p)
1037 cg_text_anti_aliasing_threshold = threshold;
1035} 1038}
1036 1039
1037static int 1040static int
@@ -5299,7 +5302,10 @@ mac_define_frame_cursor (f, cursor)
5299 struct frame *f; 5302 struct frame *f;
5300 Cursor cursor; 5303 Cursor cursor;
5301{ 5304{
5302 SetThemeCursor (cursor); 5305 struct mac_display_info *dpyinfo = FRAME_MAC_DISPLAY_INFO (f);
5306
5307 if (dpyinfo->x_focus_frame == f)
5308 SetThemeCursor (cursor);
5303} 5309}
5304 5310
5305 5311
@@ -5837,7 +5843,7 @@ x_raise_frame (f)
5837 if (f->async_visible) 5843 if (f->async_visible)
5838 { 5844 {
5839 BLOCK_INPUT; 5845 BLOCK_INPUT;
5840 SelectWindow (FRAME_MAC_WINDOW (f)); 5846 BringToFront (FRAME_MAC_WINDOW (f));
5841 UNBLOCK_INPUT; 5847 UNBLOCK_INPUT;
5842 } 5848 }
5843} 5849}
@@ -5851,7 +5857,7 @@ x_lower_frame (f)
5851 if (f->async_visible) 5857 if (f->async_visible)
5852 { 5858 {
5853 BLOCK_INPUT; 5859 BLOCK_INPUT;
5854 SendBehind (FRAME_MAC_WINDOW (f), nil); 5860 SendBehind (FRAME_MAC_WINDOW (f), NULL);
5855 UNBLOCK_INPUT; 5861 UNBLOCK_INPUT;
5856 } 5862 }
5857} 5863}
@@ -5964,7 +5970,6 @@ x_make_frame_visible (f)
5964 5970
5965 f->output_data.mac->asked_for_visible = 1; 5971 f->output_data.mac->asked_for_visible = 1;
5966 5972
5967 SelectWindow (FRAME_MAC_WINDOW (f));
5968 CollapseWindow (FRAME_MAC_WINDOW (f), false); 5973 CollapseWindow (FRAME_MAC_WINDOW (f), false);
5969 ShowWindow (FRAME_MAC_WINDOW (f)); 5974 ShowWindow (FRAME_MAC_WINDOW (f));
5970 } 5975 }
@@ -9581,6 +9586,8 @@ XTread_socket (sd, expected, hold_quit)
9581 /* So people can tell when we have read the available input. */ 9586 /* So people can tell when we have read the available input. */
9582 input_signal_count++; 9587 input_signal_count++;
9583 9588
9589 ++handling_signal;
9590
9584#if USE_CARBON_EVENTS 9591#if USE_CARBON_EVENTS
9585 toolbox_dispatcher = GetEventDispatcherTarget (); 9592 toolbox_dispatcher = GetEventDispatcherTarget ();
9586 9593
@@ -10221,6 +10228,7 @@ XTread_socket (sd, expected, hold_quit)
10221 } 10228 }
10222#endif 10229#endif
10223 10230
10231 --handling_signal;
10224 UNBLOCK_INPUT; 10232 UNBLOCK_INPUT;
10225 return count; 10233 return count;
10226} 10234}
diff --git a/src/macterm.h b/src/macterm.h
index 2f2ae26b3b3..107814ddb3f 100644
--- a/src/macterm.h
+++ b/src/macterm.h
@@ -1,6 +1,6 @@
1/* Display module for Mac OS. 1/* Display module for Mac OS.
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -206,9 +206,6 @@ extern struct mac_display_info one_mac_display_info;
206 FONT-LIST-CACHE records previous values returned by x-list-fonts. */ 206 FONT-LIST-CACHE records previous values returned by x-list-fonts. */
207extern Lisp_Object x_display_name_list; 207extern Lisp_Object x_display_name_list;
208 208
209/* A flag to control how to display unibyte 8-bit character. */
210extern int unibyte_display_via_language_environment;
211
212extern struct x_display_info *x_display_info_for_display P_ ((Display *)); 209extern struct x_display_info *x_display_info_for_display P_ ((Display *));
213extern struct x_display_info *x_display_info_for_name P_ ((Lisp_Object)); 210extern struct x_display_info *x_display_info_for_name P_ ((Lisp_Object));
214 211
diff --git a/src/makefile.w32-in b/src/makefile.w32-in
index 76ad4624712..a94938a0b80 100644
--- a/src/makefile.w32-in
+++ b/src/makefile.w32-in
@@ -1,6 +1,6 @@
1# -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. 1# -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2# Copyright (C) 2000, 2001, 2002, 2003, 2004,
3# 2005 Free Software Foundation, Inc. 3# 2005, 2006 Free Software Foundation, Inc.
4# 4#
5# This file is part of GNU Emacs. 5# This file is part of GNU Emacs.
6# 6#
diff --git a/src/marker.c b/src/marker.c
index 36a048537f7..79a7d702bdf 100644
--- a/src/marker.c
+++ b/src/marker.c
@@ -1,6 +1,6 @@
1/* Markers: examining, setting and deleting. 1/* Markers: examining, setting and deleting.
2 Copyright (C) 1985, 1997, 1998, 2002, 2003, 2004, 2 Copyright (C) 1985, 1997, 1998, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/md5.c b/src/md5.c
index 4f055447eac..d3c25b04d3e 100644
--- a/src/md5.c
+++ b/src/md5.c
@@ -1,7 +1,7 @@
1/* Functions to compute MD5 message digest of files or memory blocks. 1/* Functions to compute MD5 message digest of files or memory blocks.
2 according to the definition of MD5 in RFC 1321 from April 1992. 2 according to the definition of MD5 in RFC 1321 from April 1992.
3 Copyright (C) 1995, 1996, 1997, 1999, 2000, 2002, 2003, 2004, 3 Copyright (C) 1995, 1996, 1997, 1999, 2000, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 This file is part of the GNU Emacs. 5 This file is part of the GNU Emacs.
6 6
7 The GNU C Library is free software; you can redistribute it and/or 7 The GNU C Library is free software; you can redistribute it and/or
diff --git a/src/md5.h b/src/md5.h
index adcc6bf48f6..09bf02ff753 100644
--- a/src/md5.h
+++ b/src/md5.h
@@ -1,7 +1,7 @@
1/* Declaration of functions and data types used for MD5 sum computing 1/* Declaration of functions and data types used for MD5 sum computing
2 library functions. 2 library functions.
3 Copyright (C) 1995, 1996, 1997, 1999, 2000, 2002, 2003, 2004, 3 Copyright (C) 1995, 1996, 1997, 1999, 2000, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 This file is part of GNU Emacs. 5 This file is part of GNU Emacs.
6 6
7 The GNU C Library is free software; you can redistribute it and/or 7 The GNU C Library is free software; you can redistribute it and/or
diff --git a/src/mem-limits.h b/src/mem-limits.h
index d7ac6a3e366..292293b2f98 100644
--- a/src/mem-limits.h
+++ b/src/mem-limits.h
@@ -1,6 +1,6 @@
1/* Includes for memory limit warnings. 1/* Includes for memory limit warnings.
2 Copyright (C) 1990, 1993, 1994, 1995, 1996, 2002, 2003, 2004, 2 Copyright (C) 1990, 1993, 1994, 1995, 1996, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/minibuf.c b/src/minibuf.c
index b9bbaf5b186..300e2e2ccb5 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1,6 +1,7 @@
1/* Minibuffer input and completion. 1/* Minibuffer input and completion.
2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
3 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2001, 2002, 2003, 2004, 2005,
4 2006 Free Software Foundation, Inc.
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
6 7
diff --git a/src/mktime.c b/src/mktime.c
index 025f54d95c2..a85ebeb3783 100644
--- a/src/mktime.c
+++ b/src/mktime.c
@@ -1,6 +1,6 @@
1/* Convert a `struct tm' to a time_t value. 1/* Convert a `struct tm' to a time_t value.
2 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 Contributed by Paul Eggert (eggert@twinsun.com). 4 Contributed by Paul Eggert (eggert@twinsun.com).
5 5
6 NOTE: The canonical source of this file is maintained with the GNU C Library. 6 NOTE: The canonical source of this file is maintained with the GNU C Library.
diff --git a/src/msdos.c b/src/msdos.c
index 4ea4ab0cf1d..9ac34e008c4 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -1,6 +1,6 @@
1/* MS-DOS specific C utilities. -*- coding: raw-text -*- 1/* MS-DOS specific C utilities. -*- coding: raw-text -*-
2 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002,
3 2003, 2004, 2005 Free Software Foundation, Inc. 3 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/msdos.h b/src/msdos.h
index b6c6aca1493..8bfbcf2d10c 100644
--- a/src/msdos.h
+++ b/src/msdos.h
@@ -1,6 +1,6 @@
1/* MS-DOS specific C utilities, interface. 1/* MS-DOS specific C utilities, interface.
2 Copyright (C) 1993, 2001, 2002, 2003, 2004, 2 Copyright (C) 1993, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/prefix-args.c b/src/prefix-args.c
index c2f6303786f..1f2632c6913 100644
--- a/src/prefix-args.c
+++ b/src/prefix-args.c
@@ -1,5 +1,6 @@
1/* prefix-args.c - echo each argument, prefixed by a string. 1/* prefix-args.c - echo each argument, prefixed by a string.
2 Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1992, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/print.c b/src/print.c
index e8fcd2b6a45..28e9e86177e 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1,7 +1,7 @@
1/* Lisp object printing and output streams. 1/* Lisp object printing and output streams.
2 Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997, 2 Copyright (C) 1985, 1986, 1988, 1993, 1994, 1995, 1997,
3 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/process.c b/src/process.c
index 4046fae40fd..c58beaea45a 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1,7 +1,7 @@
1/* Asynchronous subprocess control for GNU Emacs. 1/* Asynchronous subprocess control for GNU Emacs.
2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995,
3 1996, 1998, 1999, 2001, 2002, 2003, 2004, 3 1996, 1998, 1999, 2001, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/process.h b/src/process.h
index cadc9b7031c..9625556888c 100644
--- a/src/process.h
+++ b/src/process.h
@@ -1,6 +1,6 @@
1/* Definitions for asynchronous process control in GNU Emacs. 1/* Definitions for asynchronous process control in GNU Emacs.
2 Copyright (C) 1985, 1994, 2002, 2003, 2004, 2 Copyright (C) 1985, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/puresize.h b/src/puresize.h
index a8a07f052f1..18f0a794269 100644
--- a/src/puresize.h
+++ b/src/puresize.h
@@ -1,5 +1,6 @@
1/* How much read-only Lisp storage a dumped Emacs needs. 1/* How much read-only Lisp storage a dumped Emacs needs.
2 Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1993, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/ralloc.c b/src/ralloc.c
index 35a8cb9c58a..fea9ea5d0a8 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -1,6 +1,6 @@
1/* Block-relocating memory allocator. 1/* Block-relocating memory allocator.
2 Copyright (C) 1993, 1995, 2000, 2002, 2003, 2004, 2 Copyright (C) 1993, 1995, 2000, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/regex.h b/src/regex.h
index da0ab3e78d1..c850c640b36 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -2,7 +2,7 @@
2 expression library, version 0.12. 2 expression library, version 0.12.
3 3
4 Copyright (C) 1985, 1989, 1990, 1991, 1992, 1993, 1995, 2000, 2002, 4 Copyright (C) 1985, 1989, 1990, 1991, 1992, 1993, 1995, 2000, 2002,
5 2003, 2004, 2005 Free Software Foundation, Inc. 5 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
diff --git a/src/region-cache.c b/src/region-cache.c
index d49278eb886..cedb0017da0 100644
--- a/src/region-cache.c
+++ b/src/region-cache.c
@@ -1,6 +1,6 @@
1/* Caching facts about regions of the buffer, for optimization. 1/* Caching facts about regions of the buffer, for optimization.
2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1995, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1995, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/region-cache.h b/src/region-cache.h
index 51d2ceb1e62..40e68084cce 100644
--- a/src/region-cache.h
+++ b/src/region-cache.h
@@ -1,6 +1,6 @@
1/* Header file: Caching facts about regions of the buffer, for optimization. 1/* Header file: Caching facts about regions of the buffer, for optimization.
2 Copyright (C) 1985, 1986, 1993, 1995, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1993, 1995, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/aix3-1.h b/src/s/aix3-1.h
index eedfe3d15be..f77a209f0d2 100644
--- a/src/s/aix3-1.h
+++ b/src/s/aix3-1.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on IBM AIX version 3.1 1/* Definitions file for GNU Emacs running on IBM AIX version 3.1
2 Copyright (C) 1985, 1986, 1990, 1999, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1990, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/bsd4-1.h b/src/s/bsd4-1.h
index f36bc016ca8..3e6a44f1fab 100644
--- a/src/s/bsd4-1.h
+++ b/src/s/bsd4-1.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on bsd 4.1. 1/* Definitions file for GNU Emacs running on bsd 4.1.
2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/bsd4-2.h b/src/s/bsd4-2.h
index f4e60b0fdbd..ace519c0d74 100644
--- a/src/s/bsd4-2.h
+++ b/src/s/bsd4-2.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on bsd 4.2 1/* Definitions file for GNU Emacs running on bsd 4.2
2 Copyright (C) 1985, 1986, 1994, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/bsd4-3.h b/src/s/bsd4-3.h
index 37d6a63e984..483effe71c1 100644
--- a/src/s/bsd4-3.h
+++ b/src/s/bsd4-3.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on bsd 4.3 1/* Definitions file for GNU Emacs running on bsd 4.3
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/cxux.h b/src/s/cxux.h
index 118d93d579c..3c4ffcd24a2 100644
--- a/src/s/cxux.h
+++ b/src/s/cxux.h
@@ -1,5 +1,6 @@
1/* Header file for Harris CXUX. 1/* Header file for Harris CXUX.
2 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1994, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/s/cygwin.h b/src/s/cygwin.h
index 921cff35bc7..749d1a38e3e 100644
--- a/src/s/cygwin.h
+++ b/src/s/cygwin.h
@@ -2,7 +2,7 @@
2 This file describes the parameters that system description files 2 This file describes the parameters that system description files
3 should define or not. 3 should define or not.
4 Copyright (C) 1985, 1986, 1992, 1999, 2002, 2003, 2004, 4 Copyright (C) 1985, 1986, 1992, 1999, 2002, 2003, 2004,
5 2005 Free Software Foundation, Inc. 5 2005, 2006 Free Software Foundation, Inc.
6 6
7This file is part of GNU Emacs. 7This file is part of GNU Emacs.
8 8
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 6227010e3ed..91975cd441b 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -1,5 +1,6 @@
1/* System description header file for Darwin (Mac OS X). 1/* System description header file for Darwin (Mac OS X).
2 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2001, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/s/dgux.h b/src/s/dgux.h
index 82956a900d9..d48d95709c8 100644
--- a/src/s/dgux.h
+++ b/src/s/dgux.h
@@ -1,7 +1,7 @@
1/* Definitions file for GNU Emacs running on Data General's DG/UX 1/* Definitions file for GNU Emacs running on Data General's DG/UX
2 version 4.32 upto and including 5.4.1. 2 version 4.32 upto and including 5.4.1.
3 Copyright (C) 1994, 1999, 2002, 2003, 2004, 3 Copyright (C) 1994, 1999, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/s/dgux4.h b/src/s/dgux4.h
index 35834ad4da2..ee24cd65b50 100644
--- a/src/s/dgux4.h
+++ b/src/s/dgux4.h
@@ -1,6 +1,7 @@
1/* Definitions file for GNU Emacs running on Data General's DG/UX 1/* Definitions file for GNU Emacs running on Data General's DG/UX
2 Release 4.10 and above. 2 Release 4.10 and above.
3 Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 Copyright (C) 1996, 2002, 2003, 2004, 2005,
4 2006 Free Software Foundation, Inc.
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
6 7
diff --git a/src/s/dgux5-4-3.h b/src/s/dgux5-4-3.h
index 7ec88a435eb..d0f6d4f43e8 100644
--- a/src/s/dgux5-4-3.h
+++ b/src/s/dgux5-4-3.h
@@ -1,6 +1,7 @@
1/* Definitions file for GNU Emacs running on Data General's DG/UX 1/* Definitions file for GNU Emacs running on Data General's DG/UX
2 version 5.4 Release 3.00 and above. 2 version 5.4 Release 3.00 and above.
3 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 Copyright (C) 1994, 2002, 2003, 2004, 2005,
4 2006 Free Software Foundation, Inc.
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
6 7
diff --git a/src/s/dgux5-4r2.h b/src/s/dgux5-4r2.h
index 3f059c32c24..be0ba73b4e0 100644
--- a/src/s/dgux5-4r2.h
+++ b/src/s/dgux5-4r2.h
@@ -1,6 +1,7 @@
1/* Definitions file for GNU Emacs running on Data General's DG/UX 1/* Definitions file for GNU Emacs running on Data General's DG/UX
2 5.4 Release 2.xx systems. 2 5.4 Release 2.xx systems.
3 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 Copyright (C) 1994, 2002, 2003, 2004, 2005,
4 2006 Free Software Foundation, Inc.
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
6 7
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 83949fd2819..78f314700b3 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -2,7 +2,7 @@
2 This file describes the parameters that system description files 2 This file describes the parameters that system description files
3 should define or not. 3 should define or not.
4 Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 4 Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 2003, 2004, 2005 Free Software Foundation, Inc. 5 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6 6
7This file is part of GNU Emacs. 7This file is part of GNU Emacs.
8 8
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index f87dcaded1b..4ef3db9f2ea 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -1,6 +1,6 @@
1/* This file is the configuration file for Linux-based GNU systems 1/* This file is the configuration file for Linux-based GNU systems
2 Copyright (C) 1985, 1986, 1992, 1994, 1996, 1999, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1992, 1994, 1996, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/gnu.h b/src/s/gnu.h
index 0da816c32d3..71f1dd34a5e 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on the GNU Hurd. 1/* Definitions file for GNU Emacs running on the GNU Hurd.
2 Copyright (C) 1994, 1995, 1996, 2002, 2003, 2004, 2 Copyright (C) 1994, 1995, 1996, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/hpux.h b/src/s/hpux.h
index 30ade71bf20..b8f9c62a893 100644
--- a/src/s/hpux.h
+++ b/src/s/hpux.h
@@ -1,7 +1,7 @@
1/* Definitions file for GNU Emacs running on HPUX release 7.0. 1/* Definitions file for GNU Emacs running on HPUX release 7.0.
2 Based on AT&T System V.2. 2 Based on AT&T System V.2.
3 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, 3 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/s/iris3-5.h b/src/s/iris3-5.h
index a3b6c8ad0ad..6b0009c1c38 100644
--- a/src/s/iris3-5.h
+++ b/src/s/iris3-5.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on Silicon Graphics 3.5 1/* Definitions file for GNU Emacs running on Silicon Graphics 3.5
2 Copyright (C) 1987, 1999, 2002, 2003, 2004, 2 Copyright (C) 1987, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/iris3-6.h b/src/s/iris3-6.h
index 1d8b96cc23f..d0c68bd89cb 100644
--- a/src/s/iris3-6.h
+++ b/src/s/iris3-6.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on Silicon Graphics system 3.6. 1/* Definitions file for GNU Emacs running on Silicon Graphics system 3.6.
2 Copyright (C) 1987, 1999, 2002, 2003, 2004, 2 Copyright (C) 1987, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/irix3-3.h b/src/s/irix3-3.h
index a613779913a..a65242179a9 100644
--- a/src/s/irix3-3.h
+++ b/src/s/irix3-3.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on Silicon Graphics Irix system 3.3. 1/* Definitions file for GNU Emacs running on Silicon Graphics Irix system 3.3.
2 Copyright (C) 1987, 1990, 1999, 2002, 2003, 2004, 2 Copyright (C) 1987, 1990, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/lynxos.h b/src/s/lynxos.h
index 614735d290d..b822bad3691 100644
--- a/src/s/lynxos.h
+++ b/src/s/lynxos.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on LynxOS-3.0.1 1/* Definitions file for GNU Emacs running on LynxOS-3.0.1
2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index b1989318fba..5c6d1d07c20 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -1,6 +1,6 @@
1/* System description file for Windows NT. 1/* System description file for Windows NT.
2 Copyright (C) 1993, 1994, 1995, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 1995, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/msdos.h b/src/s/msdos.h
index 9469b33227f..966384ee352 100644
--- a/src/s/msdos.h
+++ b/src/s/msdos.h
@@ -1,7 +1,7 @@
1/* System description file for MS-DOS 1/* System description file for MS-DOS
2 2
3 Copyright (C) 1993, 1996, 1997, 2001, 2002, 2003, 2004, 3 Copyright (C) 1993, 1996, 1997, 2001, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/s/newsos5.h b/src/s/newsos5.h
index d2bed2189be..0b441d74e24 100644
--- a/src/s/newsos5.h
+++ b/src/s/newsos5.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on Sony's NEWS-OS 5.0.2 1/* Definitions file for GNU Emacs running on Sony's NEWS-OS 5.0.2
2 Copyright (C) 1992, 1994, 2002, 2003, 2004, 2 Copyright (C) 1992, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/nextstep.h b/src/s/nextstep.h
index 0c0b01c10bd..8ea45e16e6e 100644
--- a/src/s/nextstep.h
+++ b/src/s/nextstep.h
@@ -1,6 +1,6 @@
1/* Configuration file for the NeXTstep system. 1/* Configuration file for the NeXTstep system.
2 Copyright (C) 1990, 1995, 2002, 2003, 2004, 2 Copyright (C) 1990, 1995, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/ptx.h b/src/s/ptx.h
index 1411dee70d8..319bbc049f2 100644
--- a/src/s/ptx.h
+++ b/src/s/ptx.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on Sequent DYNIX/ptx 1.x/2.x 1/* Definitions file for GNU Emacs running on Sequent DYNIX/ptx 1.x/2.x
2 Copyright (C) 1987, 1990, 1999, 2002, 2003, 2004, 2 Copyright (C) 1987, 1990, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/riscix1-1.h b/src/s/riscix1-1.h
index aee5d6ddc58..d6281d256b6 100644
--- a/src/s/riscix1-1.h
+++ b/src/s/riscix1-1.h
@@ -1,5 +1,6 @@
1/* Definitions file for GNU Emacs running on RISCiX 1.1 (bsd 4.3) 1/* Definitions file for GNU Emacs running on RISCiX 1.1 (bsd 4.3)
2 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1994, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/s/riscix12.h b/src/s/riscix12.h
index 625b667d7b5..a4811877070 100644
--- a/src/s/riscix12.h
+++ b/src/s/riscix12.h
@@ -1,5 +1,6 @@
1/* Definitions file for GNU Emacs running on RISCiX 1.2 (bsd 4.3) 1/* Definitions file for GNU Emacs running on RISCiX 1.2 (bsd 4.3)
2 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1994, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/s/rtu.h b/src/s/rtu.h
index b2d0c16e59a..2a9df14a14c 100644
--- a/src/s/rtu.h
+++ b/src/s/rtu.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on RTU 3.0, ucb universe. 1/* Definitions file for GNU Emacs running on RTU 3.0, ucb universe.
2 Copyright (C) 1986, 1999, 2002, 2003, 2004, 2 Copyright (C) 1986, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/sco4.h b/src/s/sco4.h
index 627007e9a52..0eda0a3f728 100644
--- a/src/s/sco4.h
+++ b/src/s/sco4.h
@@ -1,6 +1,6 @@
1/* System description file for SCO 3.2v4. 1/* System description file for SCO 3.2v4.
2 Copyright (C) 1993, 1994, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/sco5.h b/src/s/sco5.h
index 9fbbf072a12..06166f32fd9 100644
--- a/src/s/sco5.h
+++ b/src/s/sco5.h
@@ -1,5 +1,5 @@
1/* System description file for SCO 3.2v5. 1/* System description file for SCO 3.2v5.
2 Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1996, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
diff --git a/src/s/template.h b/src/s/template.h
index 0610e16473a..94b3787811f 100644
--- a/src/s/template.h
+++ b/src/s/template.h
@@ -2,7 +2,7 @@
2 This file describes the parameters that system description files 2 This file describes the parameters that system description files
3 should define or not. 3 should define or not.
4 Copyright (C) 1985, 1986, 1992, 1999, 2002, 2003, 2004, 4 Copyright (C) 1985, 1986, 1992, 1999, 2002, 2003, 2004,
5 2005 Free Software Foundation, Inc. 5 2005, 2006 Free Software Foundation, Inc.
6 6
7This file is part of GNU Emacs. 7This file is part of GNU Emacs.
8 8
diff --git a/src/s/umax.h b/src/s/umax.h
index f4923f33053..ae3b98cfcad 100644
--- a/src/s/umax.h
+++ b/src/s/umax.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on UMAX 4.2 1/* Definitions file for GNU Emacs running on UMAX 4.2
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/unipl5-2.h b/src/s/unipl5-2.h
index cca703adb82..096096f9f7a 100644
--- a/src/s/unipl5-2.h
+++ b/src/s/unipl5-2.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on UniSoft's UniPlus 5.2 1/* Definitions file for GNU Emacs running on UniSoft's UniPlus 5.2
2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/usg5-0.h b/src/s/usg5-0.h
index 5f9943f8477..94389290726 100644
--- a/src/s/usg5-0.h
+++ b/src/s/usg5-0.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on AT&T's System V.0 1/* Definitions file for GNU Emacs running on AT&T's System V.0
2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/usg5-2-2.h b/src/s/usg5-2-2.h
index b090f3c32b6..a60a985856d 100644
--- a/src/s/usg5-2-2.h
+++ b/src/s/usg5-2-2.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on AT&T's System V Release 2.2 1/* Definitions file for GNU Emacs running on AT&T's System V Release 2.2
2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/usg5-2.h b/src/s/usg5-2.h
index e63bddfc060..7f1fcb92ec5 100644
--- a/src/s/usg5-2.h
+++ b/src/s/usg5-2.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on AT&T's System V Release 2.0 1/* Definitions file for GNU Emacs running on AT&T's System V Release 2.0
2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/usg5-3.h b/src/s/usg5-3.h
index 12259936928..56a448e9dba 100644
--- a/src/s/usg5-3.h
+++ b/src/s/usg5-3.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on AT&T's System V Release 3 1/* Definitions file for GNU Emacs running on AT&T's System V Release 3
2 Copyright (C) 1987, 1999, 2002, 2003, 2004, 2 Copyright (C) 1987, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h
index b8c2f8d9fa2..5e202e3edad 100644
--- a/src/s/usg5-4.h
+++ b/src/s/usg5-4.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on AT&T's System V Release 4 1/* Definitions file for GNU Emacs running on AT&T's System V Release 4
2 Copyright (C) 1987, 1990, 1999, 2000, 2002, 2003, 2004, 2 Copyright (C) 1987, 1990, 1999, 2000, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/s/vms.h b/src/s/vms.h
index e3c9dc725c0..51f3ca1a531 100644
--- a/src/s/vms.h
+++ b/src/s/vms.h
@@ -1,5 +1,6 @@
1/* system description header for VMS 1/* system description header for VMS
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/s/xenix.h b/src/s/xenix.h
index e67b897faff..09a7b61fcd1 100644
--- a/src/s/xenix.h
+++ b/src/s/xenix.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running SCO Xenix 386 Release 2.2 1/* Definitions file for GNU Emacs running SCO Xenix 386 Release 2.2
2 Copyright (C) 1988, 1999, 2002, 2003, 2004, 2 Copyright (C) 1988, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/scroll.c b/src/scroll.c
index 04db528cc64..9b04f47c16b 100644
--- a/src/scroll.c
+++ b/src/scroll.c
@@ -1,6 +1,6 @@
1/* Calculate what line insertion or deletion to do, and do it, 1/* Calculate what line insertion or deletion to do, and do it,
2 Copyright (C) 1985, 1986, 1990, 1993, 1994, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1990, 1993, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/search.c b/src/search.c
index e12bf69d2a1..04b58c78d3f 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1,6 +1,6 @@
1/* String search routines for GNU Emacs. 1/* String search routines for GNU Emacs.
2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1997, 1998, 1999, 2002, 2003, 2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1997, 1998, 1999, 2002, 2003,
3 2004, 2005 Free Software Foundation, Inc. 3 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/sheap.c b/src/sheap.c
index cc740173a24..192af4030c6 100644
--- a/src/sheap.c
+++ b/src/sheap.c
@@ -1,7 +1,7 @@
1/* simulate `sbrk' with an array in .bss, for `unexec' support for Cygwin; 1/* simulate `sbrk' with an array in .bss, for `unexec' support for Cygwin;
2 complete rewrite of xemacs Cygwin `unexec' code 2 complete rewrite of xemacs Cygwin `unexec' code
3 3
4 Copyright (C) 2004, 2005 Free Software Foundation, Inc. 4 Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/sound.c b/src/sound.c
index 1e6a17d0275..c1d5c40e9bb 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -1,6 +1,6 @@
1/* sound.c -- sound support. 1/* sound.c -- sound support.
2 Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, 2 Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/strftime.c b/src/strftime.c
index 88a54b7bee4..f46b40f232a 100644
--- a/src/strftime.c
+++ b/src/strftime.c
@@ -1,5 +1,5 @@
1/* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 1/* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 3
4 NOTE: The canonical source of this file is maintained with gnulib. 4 NOTE: The canonical source of this file is maintained with gnulib.
5 Bugs can be reported to bug-gnulib@gnu.org. 5 Bugs can be reported to bug-gnulib@gnu.org.
diff --git a/src/sunfns.c b/src/sunfns.c
index 8de639b7480..1c04f1108a8 100644
--- a/src/sunfns.c
+++ b/src/sunfns.c
@@ -1,6 +1,6 @@
1/* Functions for Sun Windows menus and selection buffer. 1/* Functions for Sun Windows menus and selection buffer.
2 Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, 2 Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is probably totally obsolete. In any case, the FSF is 5This file is probably totally obsolete. In any case, the FSF is
6unwilling to support it. We agreed to include it in our distribution 6unwilling to support it. We agreed to include it in our distribution
diff --git a/src/syntax.c b/src/syntax.c
index 251cc553cdf..3f668eac946 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1,6 +1,6 @@
1/* GNU Emacs routines to deal with syntax tables; also word and list parsing. 1/* GNU Emacs routines to deal with syntax tables; also word and list parsing.
2 Copyright (C) 1985, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2002, 2 Copyright (C) 1985, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2002,
3 2003, 2004, 2005 Free Software Foundation, Inc. 3 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/syntax.h b/src/syntax.h
index c29e26c20b5..92d55967b33 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -1,6 +1,6 @@
1/* Declarations having to do with GNU Emacs syntax tables. 1/* Declarations having to do with GNU Emacs syntax tables.
2 Copyright (C) 1985, 1993, 1994, 1997, 1998, 2002, 2003, 2004, 2 Copyright (C) 1985, 1993, 1994, 1997, 1998, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/sysdep.c b/src/sysdep.c
index 25db4c73080..6e09748bca9 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1,6 +1,6 @@
1/* Interfaces to system-dependent kernel and library entries. 1/* Interfaces to system-dependent kernel and library entries.
2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/sysselect.h b/src/sysselect.h
index d57527f9ed1..ba204dafe3f 100644
--- a/src/sysselect.h
+++ b/src/sysselect.h
@@ -1,5 +1,6 @@
1/* sysselect.h - System-dependent definitions for the select function. 1/* sysselect.h - System-dependent definitions for the select function.
2 Copyright (C) 1995, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1995, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/syssignal.h b/src/syssignal.h
index 3cb28220962..ac77759d258 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -1,6 +1,6 @@
1/* syssignal.h - System-dependent definitions for signals. 1/* syssignal.h - System-dependent definitions for signals.
2 Copyright (C) 1993, 1999, 2002, 2003, 2004, 2 Copyright (C) 1993, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/systime.h b/src/systime.h
index 9851db4cf33..00373b257b3 100644
--- a/src/systime.h
+++ b/src/systime.h
@@ -1,6 +1,6 @@
1/* systime.h - System-dependent definitions for time manipulations. 1/* systime.h - System-dependent definitions for time manipulations.
2 Copyright (C) 1993, 1994, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/systty.h b/src/systty.h
index af9f5e3aa88..6d6a6f01ea9 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -1,6 +1,6 @@
1/* systty.h - System-dependent definitions for terminals. 1/* systty.h - System-dependent definitions for terminals.
2 Copyright (C) 1993, 1994, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/syswait.h b/src/syswait.h
index 37d59d68ac5..bb4937f353e 100644
--- a/src/syswait.h
+++ b/src/syswait.h
@@ -1,6 +1,6 @@
1/* Define wait system call interface for Emacs. 1/* Define wait system call interface for Emacs.
2 Copyright (C) 1993, 1994, 1995, 2000, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 1995, 2000, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/term.c b/src/term.c
index 899739de6ae..b1183ed9e2a 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1,6 +1,6 @@
1/* Terminal control module for terminals described by TERMCAP 1/* Terminal control module for terminals described by TERMCAP
2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1998, 2000, 2001, 2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1998, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -1328,10 +1328,10 @@ static void produce_stretch_glyph P_ ((struct it *));
1328 1328
1329 1329
1330/* Append glyphs to IT's glyph_row. Called from produce_glyphs for 1330/* Append glyphs to IT's glyph_row. Called from produce_glyphs for
1331 terminal frames if IT->glyph_row != NULL. IT->c is the character 1331 terminal frames if IT->glyph_row != NULL. IT->char_to_display is
1332 for which to produce glyphs; IT->face_id contains the character's 1332 the character for which to produce glyphs; IT->face_id contains the
1333 face. Padding glyphs are appended if IT->c has a IT->pixel_width > 1333 character's face. Padding glyphs are appended if IT->c has a
1334 1. */ 1334 IT->pixel_width > 1. */
1335 1335
1336static void 1336static void
1337append_glyph (it) 1337append_glyph (it)
@@ -1351,7 +1351,7 @@ append_glyph (it)
1351 { 1351 {
1352 glyph->type = CHAR_GLYPH; 1352 glyph->type = CHAR_GLYPH;
1353 glyph->pixel_width = 1; 1353 glyph->pixel_width = 1;
1354 glyph->u.ch = it->c; 1354 glyph->u.ch = it->char_to_display;
1355 glyph->face_id = it->face_id; 1355 glyph->face_id = it->face_id;
1356 glyph->padding_p = i > 0; 1356 glyph->padding_p = i > 0;
1357 glyph->charpos = CHARPOS (it->position); 1357 glyph->charpos = CHARPOS (it->position);
@@ -1402,6 +1402,9 @@ produce_glyphs (it)
1402 xassert (it->what == IT_CHARACTER 1402 xassert (it->what == IT_CHARACTER
1403 || it->what == IT_COMPOSITION); 1403 || it->what == IT_COMPOSITION);
1404 1404
1405 /* Maybe translate single-byte characters to multibyte. */
1406 it->char_to_display = it->c;
1407
1405 if (it->c >= 040 && it->c < 0177) 1408 if (it->c >= 040 && it->c < 0177)
1406 { 1409 {
1407 it->pixel_width = it->nglyphs = 1; 1410 it->pixel_width = it->nglyphs = 1;
@@ -1431,13 +1434,11 @@ produce_glyphs (it)
1431 { 1434 {
1432 int n = nspaces; 1435 int n = nspaces;
1433 1436
1434 it->c = ' '; 1437 it->char_to_display = ' ';
1435 it->pixel_width = it->len = 1; 1438 it->pixel_width = it->len = 1;
1436 1439
1437 while (n--) 1440 while (n--)
1438 append_glyph (it); 1441 append_glyph (it);
1439
1440 it->c = '\t';
1441 } 1442 }
1442 1443
1443 it->pixel_width = nspaces; 1444 it->pixel_width = nspaces;
@@ -1445,14 +1446,30 @@ produce_glyphs (it)
1445 } 1446 }
1446 else if (SINGLE_BYTE_CHAR_P (it->c)) 1447 else if (SINGLE_BYTE_CHAR_P (it->c))
1447 { 1448 {
1448 /* Coming here means that it->c is from display table, thus we 1449 if (unibyte_display_via_language_environment
1449 must send the code as is to the terminal. Although there's 1450 && (it->c >= 0240
1450 no way to know how many columns it occupies on a screen, it 1451 || !NILP (Vnonascii_translation_table)))
1451 is a good assumption that a single byte code has 1-column 1452 {
1452 width. */ 1453 int charset;
1453 it->pixel_width = it->nglyphs = 1; 1454
1454 if (it->glyph_row) 1455 it->char_to_display = unibyte_char_to_multibyte (it->c);
1455 append_glyph (it); 1456 charset = CHAR_CHARSET (it->char_to_display);
1457 it->pixel_width = CHARSET_WIDTH (charset);
1458 it->nglyphs = it->pixel_width;
1459 if (it->glyph_row)
1460 append_glyph (it);
1461 }
1462 else
1463 {
1464 /* Coming here means that it->c is from display table, thus we
1465 must send the code as is to the terminal. Although there's
1466 no way to know how many columns it occupies on a screen, it
1467 is a good assumption that a single byte code has 1-column
1468 width. */
1469 it->pixel_width = it->nglyphs = 1;
1470 if (it->glyph_row)
1471 append_glyph (it);
1472 }
1456 } 1473 }
1457 else 1474 else
1458 { 1475 {
@@ -1537,17 +1554,15 @@ produce_stretch_glyph (it)
1537 Lisp_Object o_object = it->object; 1554 Lisp_Object o_object = it->object;
1538 Lisp_Object object = it->stack[it->sp - 1].string; 1555 Lisp_Object object = it->stack[it->sp - 1].string;
1539 int n = width; 1556 int n = width;
1540 int c = it->c;
1541 1557
1542 if (!STRINGP (object)) 1558 if (!STRINGP (object))
1543 object = it->w->buffer; 1559 object = it->w->buffer;
1544 it->object = object; 1560 it->object = object;
1545 it->c = ' '; 1561 it->char_to_display = ' ';
1546 it->pixel_width = it->len = 1; 1562 it->pixel_width = it->len = 1;
1547 while (n--) 1563 while (n--)
1548 append_glyph (it); 1564 append_glyph (it);
1549 it->object = o_object; 1565 it->object = o_object;
1550 it->c = c;
1551 } 1566 }
1552 it->pixel_width = width; 1567 it->pixel_width = width;
1553 it->nglyphs = width; 1568 it->nglyphs = width;
diff --git a/src/termcap.c b/src/termcap.c
index 2f6f324eada..dee5465ebf9 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -1,6 +1,6 @@
1/* Work-alike for termcap, plus extra features. 1/* Work-alike for termcap, plus extra features.
2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 2000, 2001, 2002, 2003, 2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 2000, 2001, 2002, 2003,
3 2004, 2005 Free Software Foundation, Inc. 3 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This program is free software; you can redistribute it and/or modify 5This program is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by 6it under the terms of the GNU General Public License as published by
diff --git a/src/termchar.h b/src/termchar.h
index 9e9819b97ce..c0d9895462e 100644
--- a/src/termchar.h
+++ b/src/termchar.h
@@ -1,6 +1,6 @@
1/* Flags and parameters describing terminal's characteristics. 1/* Flags and parameters describing terminal's characteristics.
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/termhooks.h b/src/termhooks.h
index 7045d6ee1e3..13b41f95f70 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -1,6 +1,6 @@
1/* Parameters and display hooks for terminal devices. 1/* Parameters and display hooks for terminal devices.
2 Copyright (C) 1985, 1986, 1993, 1994, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1993, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/terminfo.c b/src/terminfo.c
index 5c0aa1ccf05..7fccfaf1700 100644
--- a/src/terminfo.c
+++ b/src/terminfo.c
@@ -1,6 +1,6 @@
1/* Interface from Emacs to terminfo. 1/* Interface from Emacs to terminfo.
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/termopts.h b/src/termopts.h
index 2e5da3c9948..8d776b3de38 100644
--- a/src/termopts.h
+++ b/src/termopts.h
@@ -1,6 +1,6 @@
1/* Flags and parameters describing user options for handling the terminal. 1/* Flags and parameters describing user options for handling the terminal.
2 Copyright (C) 1985, 1986, 1990, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1990, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/textprop.c b/src/textprop.c
index 029f2f41031..65823d9fa3f 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -1,6 +1,6 @@
1/* Interface code for dealing with text properties. 1/* Interface code for dealing with text properties.
2 Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, 2 Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003,
3 2004, 2005 Free Software Foundation, Inc. 3 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/tparam.c b/src/tparam.c
index e593589d5cb..ea04f7eaea1 100644
--- a/src/tparam.c
+++ b/src/tparam.c
@@ -1,6 +1,6 @@
1/* Merge parameters into a termcap entry string. 1/* Merge parameters into a termcap entry string.
2 Copyright (C) 1985, 1987, 1993, 1995, 2000, 2002, 2003, 2004, 2 Copyright (C) 1985, 1987, 1993, 1995, 2000, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This program is free software; you can redistribute it and/or modify 5This program is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by 6it under the terms of the GNU General Public License as published by
diff --git a/src/uaf.h b/src/uaf.h
index 7863c41227e..05a8651b6c2 100644
--- a/src/uaf.h
+++ b/src/uaf.h
@@ -1,5 +1,6 @@
1/* GNU Emacs VMS UAF definition file. 1/* GNU Emacs VMS UAF definition file.
2 Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1986, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/undo.c b/src/undo.c
index bf774affac5..3313c8e306c 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -1,6 +1,6 @@
1/* undo handling for GNU Emacs. 1/* undo handling for GNU Emacs.
2 Copyright (C) 1990, 1993, 1994, 2000, 2002, 2003, 2004, 2 Copyright (C) 1990, 1993, 1994, 2000, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/unexaix.c b/src/unexaix.c
index 071f09898ed..4785aa1dcb3 100644
--- a/src/unexaix.c
+++ b/src/unexaix.c
@@ -1,6 +1,6 @@
1/* Dump an executable image. 1/* Dump an executable image.
2 Copyright (C) 1985, 1986, 1987, 1988, 1999, 2002, 2003, 2004, 2 Copyright (C) 1985, 1986, 1987, 1988, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/unexalpha.c b/src/unexalpha.c
index 069c39b398b..ead259437f6 100644
--- a/src/unexalpha.c
+++ b/src/unexalpha.c
@@ -1,7 +1,7 @@
1/* Unexec for DEC alpha. schoepf@sc.ZIB-Berlin.DE (Rainer Schoepf). 1/* Unexec for DEC alpha. schoepf@sc.ZIB-Berlin.DE (Rainer Schoepf).
2 2
3 Copyright (C) 1994, 2000, 2002, 2003, 2004, 3 Copyright (C) 1994, 2000, 2002, 2003, 2004,
4 2005 Free Software Foundation, Inc. 4 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/unexapollo.c b/src/unexapollo.c
index f1481d684a3..ace28dfa38d 100644
--- a/src/unexapollo.c
+++ b/src/unexapollo.c
@@ -1,6 +1,6 @@
1/* unexapollo.c -- COFF File UNEXEC for GNU Emacs on Apollo SR10.x 1/* unexapollo.c -- COFF File UNEXEC for GNU Emacs on Apollo SR10.x
2 Copyright (C) 1988, 1994, 2002, 2003, 2004, 2 Copyright (C) 1988, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/unexconvex.c b/src/unexconvex.c
index 6f05e4ae938..8409463b783 100644
--- a/src/unexconvex.c
+++ b/src/unexconvex.c
@@ -8,7 +8,7 @@
8 break it. 8 break it.
9 9
10 Copyright (C) 1985, 1986, 1988, 2002, 2003, 2004, 10 Copyright (C) 1985, 1986, 1988, 2002, 2003, 2004,
11 2005 Free Software Foundation, Inc. 11 2005, 2006 Free Software Foundation, Inc.
12 12
13This file is part of GNU Emacs. 13This file is part of GNU Emacs.
14 14
diff --git a/src/unexcw.c b/src/unexcw.c
index cfd87781a16..aee4f58896c 100644
--- a/src/unexcw.c
+++ b/src/unexcw.c
@@ -1,7 +1,7 @@
1/* unexec() support for Cygwin; 1/* unexec() support for Cygwin;
2 complete rewrite of xemacs Cygwin unexec() code 2 complete rewrite of xemacs Cygwin unexec() code
3 3
4 Copyright (C) 2004, 2005 Free Software Foundation, Inc. 4 Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
diff --git a/src/unexec.c b/src/unexec.c
index ebf813306da..7fe7e26568c 100644
--- a/src/unexec.c
+++ b/src/unexec.c
@@ -1,5 +1,5 @@
1/* Copyright (C) 1985, 1986, 1987, 1988, 1992, 1993, 1994, 2002, 2003, 2004, 1/* Copyright (C) 1985, 1986, 1987, 1988, 1992, 1993, 1994, 2002, 2003, 2004,
2 2005 Free Software Foundation, Inc. 2 2005, 2006 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
diff --git a/src/unexelf.c b/src/unexelf.c
index c53974be9f2..30a35372544 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -1,5 +1,5 @@
1/* Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1999, 2000, 2001, 1/* Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1999, 2000, 2001,
2 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
diff --git a/src/unexenix.c b/src/unexenix.c
index 159c0b2f6d8..c1ad8bbf7eb 100644
--- a/src/unexenix.c
+++ b/src/unexenix.c
@@ -7,7 +7,7 @@
7 maintenance might break it. 7 maintenance might break it.
8 8
9 Copyright (C) 1988, 1994, 2002, 2003, 2004, 9 Copyright (C) 1988, 1994, 2002, 2003, 2004,
10 2005 Free Software Foundation, Inc. 10 2005, 2006 Free Software Foundation, Inc.
11 11
12This file is part of GNU Emacs. 12This file is part of GNU Emacs.
13 13
diff --git a/src/unexmacosx.c b/src/unexmacosx.c
index 43e1f5e805c..db77a83cee2 100644
--- a/src/unexmacosx.c
+++ b/src/unexmacosx.c
@@ -1,5 +1,6 @@
1/* Dump Emacs in Mach-O format for use on Mac OS X. 1/* Dump Emacs in Mach-O format for use on Mac OS X.
2 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 2001, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/unexmips.c b/src/unexmips.c
index 212f7ed5926..86129e052cf 100644
--- a/src/unexmips.c
+++ b/src/unexmips.c
@@ -7,7 +7,7 @@
7 maintenance might break it. 7 maintenance might break it.
8 8
9 Copyright (C) 1988, 1994, 2002, 2003, 2004, 9 Copyright (C) 1988, 1994, 2002, 2003, 2004,
10 2005 Free Software Foundation, Inc. 10 2005, 2006 Free Software Foundation, Inc.
11 11
12This file is part of GNU Emacs. 12This file is part of GNU Emacs.
13 13
diff --git a/src/unexnext.c b/src/unexnext.c
index b374dd8e9b8..b453da3b023 100644
--- a/src/unexnext.c
+++ b/src/unexnext.c
@@ -1,6 +1,6 @@
1/* Dump Emacs in macho format. 1/* Dump Emacs in macho format.
2 Copyright (C) 1990, 1993, 2002, 2003, 2004, 2 Copyright (C) 1990, 1993, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 Written by Bradley Taylor (btaylor@next.com). 4 Written by Bradley Taylor (btaylor@next.com).
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
diff --git a/src/unexsni.c b/src/unexsni.c
index d6b3ae68969..8d72acf1a18 100644
--- a/src/unexsni.c
+++ b/src/unexsni.c
@@ -1,6 +1,6 @@
1/* Unexec for Siemens machines running Sinix (modified SVR4). 1/* Unexec for Siemens machines running Sinix (modified SVR4).
2 Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1993, 1994, 1995, 2002, 2 Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1993, 1994, 1995, 2002,
3 2003, 2004, 2005 Free Software Foundation, Inc. 3 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/unexsunos4.c b/src/unexsunos4.c
index 5e221050f36..19d982f6140 100644
--- a/src/unexsunos4.c
+++ b/src/unexsunos4.c
@@ -1,6 +1,6 @@
1/* Unexec for Sunos 4 using shared libraries. 1/* Unexec for Sunos 4 using shared libraries.
2 Copyright (C) 1990, 1994, 1999, 2002, 2003, 2004, 2 Copyright (C) 1990, 1994, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/unexw32.c b/src/unexw32.c
index bc462c18a10..6256062aa3f 100644
--- a/src/unexw32.c
+++ b/src/unexw32.c
@@ -1,5 +1,6 @@
1/* unexec for GNU Emacs on Windows NT. 1/* unexec for GNU Emacs on Windows NT.
2 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1994, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/vm-limit.c b/src/vm-limit.c
index 0c12dec9b04..fb127b27b74 100644
--- a/src/vm-limit.c
+++ b/src/vm-limit.c
@@ -1,6 +1,6 @@
1/* Functions for memory limit warnings. 1/* Functions for memory limit warnings.
2 Copyright (C) 1990, 1992, 2002, 2003, 2004, 2 Copyright (C) 1990, 1992, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/w16select.c b/src/w16select.c
index b0c30eb58d8..cd3098bae52 100644
--- a/src/w16select.c
+++ b/src/w16select.c
@@ -1,6 +1,6 @@
1/* 16-bit Windows Selection processing for emacs on MS-Windows 1/* 16-bit Windows Selection processing for emacs on MS-Windows
2 Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, 2 Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/w32.c b/src/w32.c
index 9860a6cc353..799a3f6ad9b 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -1,6 +1,6 @@
1/* Utility and Unix shadow routines for GNU Emacs on the Microsoft W32 API. 1/* Utility and Unix shadow routines for GNU Emacs on the Microsoft W32 API.
2 Copyright (C) 1994, 1995, 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 1994, 1995, 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/w32.h b/src/w32.h
index 2981e5bb979..ecc986269fb 100644
--- a/src/w32.h
+++ b/src/w32.h
@@ -2,7 +2,8 @@
2#define EMACS_W32_H 2#define EMACS_W32_H
3 3
4/* Support routines for the NT version of Emacs. 4/* Support routines for the NT version of Emacs.
5 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 5 Copyright (C) 1994, 2002, 2003, 2004, 2005,
6 2006 Free Software Foundation, Inc.
6 7
7This file is part of GNU Emacs. 8This file is part of GNU Emacs.
8 9
diff --git a/src/w32bdf.c b/src/w32bdf.c
index 10780f2f0c9..89d88574188 100644
--- a/src/w32bdf.c
+++ b/src/w32bdf.c
@@ -1,5 +1,6 @@
1/* Implementation of BDF font handling on the Microsoft W32 API. 1/* Implementation of BDF font handling on the Microsoft W32 API.
2 Copyright (C) 1999, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/w32bdf.h b/src/w32bdf.h
index 9d3d306d56f..dd8cfa276bf 100644
--- a/src/w32bdf.h
+++ b/src/w32bdf.h
@@ -1,5 +1,6 @@
1/* Definitions and header for handling BDF fonts on the Microsoft W32 API. 1/* Definitions and header for handling BDF fonts on the Microsoft W32 API.
2 Copyright (C) 1999, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/w32console.c b/src/w32console.c
index a81591fb96f..dbadee3b10d 100644
--- a/src/w32console.c
+++ b/src/w32console.c
@@ -1,6 +1,6 @@
1/* Terminal hooks for GNU Emacs on the Microsoft W32 API. 1/* Terminal hooks for GNU Emacs on the Microsoft W32 API.
2 Copyright (C) 1992, 1999, 2002, 2003, 2004, 2 Copyright (C) 1992, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/w32fns.c b/src/w32fns.c
index b82814bca72..34450fd5219 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -1,6 +1,6 @@
1/* Graphical user interface functions for the Microsoft W32 API. 1/* Graphical user interface functions for the Microsoft W32 API.
2 Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2 Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
3 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/w32gui.h b/src/w32gui.h
index 644adcea924..2b1a11987f3 100644
--- a/src/w32gui.h
+++ b/src/w32gui.h
@@ -1,5 +1,6 @@
1/* Definitions and headers for communication on the Microsoft W32 API. 1/* Definitions and headers for communication on the Microsoft W32 API.
2 Copyright (C) 1995, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1995, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/w32heap.c b/src/w32heap.c
index a0c50da5506..f1fa196abe7 100644
--- a/src/w32heap.c
+++ b/src/w32heap.c
@@ -1,5 +1,6 @@
1/* Heap management routines for GNU Emacs on the Microsoft W32 API. 1/* Heap management routines for GNU Emacs on the Microsoft W32 API.
2 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1994, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/w32heap.h b/src/w32heap.h
index 1b3b815b115..c862558b1cf 100644
--- a/src/w32heap.h
+++ b/src/w32heap.h
@@ -1,5 +1,6 @@
1/* Heap management routines (including unexec) for GNU Emacs on Windows NT. 1/* Heap management routines (including unexec) for GNU Emacs on Windows NT.
2 Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1994, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/w32inevt.c b/src/w32inevt.c
index ffa2cd0989a..0fededa6aea 100644
--- a/src/w32inevt.c
+++ b/src/w32inevt.c
@@ -1,6 +1,6 @@
1/* Input event support for Emacs on the Microsoft W32 API. 1/* Input event support for Emacs on the Microsoft W32 API.
2 Copyright (C) 1992, 1993, 1995, 2002, 2003, 2004, 2 Copyright (C) 1992, 1993, 1995, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/w32inevt.h b/src/w32inevt.h
index e0a9428720f..8985df1ee69 100644
--- a/src/w32inevt.h
+++ b/src/w32inevt.h
@@ -1,5 +1,6 @@
1/* Input routines for GNU Emacs on the Microsoft W32 API. 1/* Input routines for GNU Emacs on the Microsoft W32 API.
2 Copyright (C) 1995, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1995, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/w32menu.c b/src/w32menu.c
index dfd885eee08..57db01ac9e9 100644
--- a/src/w32menu.c
+++ b/src/w32menu.c
@@ -1,6 +1,6 @@
1/* Menu support for GNU Emacs on the Microsoft W32 API. 1/* Menu support for GNU Emacs on the Microsoft W32 API.
2 Copyright (C) 1986, 1988, 1993, 1994, 1996, 1998, 1999, 2002, 2003, 2 Copyright (C) 1986, 1988, 1993, 1994, 1996, 1998, 1999, 2002, 2003,
3 2004, 2005 Free Software Foundation, Inc. 3 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/w32proc.c b/src/w32proc.c
index 628a763c675..a9e0e0cb83f 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -1,6 +1,6 @@
1/* Process support for GNU Emacs on the Microsoft W32 API. 1/* Process support for GNU Emacs on the Microsoft W32 API.
2 Copyright (C) 1992, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 1992, 1995, 1999, 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/w32reg.c b/src/w32reg.c
index 40d84df3d14..cd2a3bdf755 100644
--- a/src/w32reg.c
+++ b/src/w32reg.c
@@ -1,6 +1,6 @@
1/* Emulate the X Resource Manager through the registry. 1/* Emulate the X Resource Manager through the registry.
2 Copyright (C) 1990, 1993, 1994, 2002, 2003, 2004, 2 Copyright (C) 1990, 1993, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/w32select.c b/src/w32select.c
index 3556c62a35f..99825c23911 100644
--- a/src/w32select.c
+++ b/src/w32select.c
@@ -1,6 +1,6 @@
1/* Selection processing for Emacs on the Microsoft W32 API. 1/* Selection processing for Emacs on the Microsoft W32 API.
2 Copyright (C) 1993, 1994, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/w32term.c b/src/w32term.c
index 79f6ae5206b..0017d2a5c86 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1,6 +1,6 @@
1/* Implementation of GUI terminal on the Microsoft W32 API. 1/* Implementation of GUI terminal on the Microsoft W32 API.
2 Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2 Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/w32term.h b/src/w32term.h
index 34932c44d3b..f587d74a485 100644
--- a/src/w32term.h
+++ b/src/w32term.h
@@ -1,6 +1,6 @@
1/* Definitions and headers for communication on the Microsoft W32 API. 1/* Definitions and headers for communication on the Microsoft W32 API.
2 Copyright (C) 1995, 2001, 2002, 2003, 2004, 2 Copyright (C) 1995, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -248,9 +248,6 @@ extern Lisp_Object w32_display_name_list;
248/* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */ 248/* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */
249extern Lisp_Object Vx_pixel_size_width_font_regexp; 249extern Lisp_Object Vx_pixel_size_width_font_regexp;
250 250
251/* A flag to control how to display unibyte 8-bit character. */
252extern int unibyte_display_via_language_environment;
253
254struct w32_display_info *x_display_info_for_name (); 251struct w32_display_info *x_display_info_for_name ();
255 252
256Lisp_Object display_x_get_resource P_ ((struct w32_display_info *, 253Lisp_Object display_x_get_resource P_ ((struct w32_display_info *,
diff --git a/src/w32xfns.c b/src/w32xfns.c
index 46a71b942c7..0e937e9950c 100644
--- a/src/w32xfns.c
+++ b/src/w32xfns.c
@@ -1,6 +1,6 @@
1/* Functions taken directly from X sources for use with the Microsoft W32 API. 1/* Functions taken directly from X sources for use with the Microsoft W32 API.
2 Copyright (C) 1989, 1992, 1993, 1994, 1995, 1999, 2002, 2003, 2004, 2 Copyright (C) 1989, 1992, 1993, 1994, 1995, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/widget.c b/src/widget.c
index 0386890d93b..35bf5631b20 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -1,6 +1,6 @@
1/* The emacs frame widget. 1/* The emacs frame widget.
2 Copyright (C) 1992, 1993, 2000, 2002, 2003, 2004, 2 Copyright (C) 1992, 1993, 2000, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/widget.h b/src/widget.h
index 00d743234c0..b6c5e9f0bcb 100644
--- a/src/widget.h
+++ b/src/widget.h
@@ -1,5 +1,6 @@
1/* The emacs frame widget public header file. 1/* The emacs frame widget public header file.
2 Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1993, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/widgetprv.h b/src/widgetprv.h
index 2027b4f602d..bde384d3b5f 100644
--- a/src/widgetprv.h
+++ b/src/widgetprv.h
@@ -1,5 +1,6 @@
1/* The emacs frame widget private header file. 1/* The emacs frame widget private header file.
2 Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1993, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
diff --git a/src/window.c b/src/window.c
index 25656307648..58ab3ee14a0 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1,7 +1,7 @@
1/* Window creation, deletion and examination for GNU Emacs. 1/* Window creation, deletion and examination for GNU Emacs.
2 Does not include redisplay. 2 Does not include redisplay.
3 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 3 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 2000,
4 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
@@ -4286,6 +4286,14 @@ adjust_window_trailing_edge (window, delta, horiz_flag)
4286 { 4286 {
4287 if (!NILP (XWINDOW (window)->next)) 4287 if (!NILP (XWINDOW (window)->next))
4288 { 4288 {
4289 /* This may happen for the minibuffer. In that case
4290 the window_deletion_count check below does not work. */
4291 if (XINT (CURSIZE (p->next)) - delta <= 0)
4292 {
4293 Fset_window_configuration (old_config);
4294 error ("Cannot adjust window size as specified");
4295 }
4296
4289 XSETINT (CURBEG (p->next), 4297 XSETINT (CURBEG (p->next),
4290 XINT (CURBEG (p->next)) + delta); 4298 XINT (CURBEG (p->next)) + delta);
4291 size_window (p->next, XINT (CURSIZE (p->next)) - delta, 4299 size_window (p->next, XINT (CURSIZE (p->next)) - delta,
diff --git a/src/xfaces.c b/src/xfaces.c
index 7c9230f1140..27edd1a45dc 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -1,6 +1,6 @@
1/* xfaces.c -- "Face" primitives. 1/* xfaces.c -- "Face" primitives.
2 Copyright (C) 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/xfns.c b/src/xfns.c
index e478bde7984..b8f128b6cdc 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1,6 +1,6 @@
1/* Functions for the X window system. 1/* Functions for the X window system.
2 Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2 Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
3 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/xmenu.c b/src/xmenu.c
index 70c07702cae..ddb93aa8c77 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -1,6 +1,6 @@
1/* X Communication module for terminals which understand the X protocol. 1/* X Communication module for terminals which understand the X protocol.
2 Copyright (C) 1986, 1988, 1993, 1994, 1996, 1999, 2000, 2001, 2002, 2003, 2 Copyright (C) 1986, 1988, 1993, 1994, 1996, 1999, 2000, 2001, 2002, 2003,
3 2004, 2005 Free Software Foundation, Inc. 3 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/xrdb.c b/src/xrdb.c
index 0a138687d7b..2b7888ebe84 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -1,6 +1,6 @@
1/* Deal with the X Resource Manager. 1/* Deal with the X Resource Manager.
2 Copyright (C) 1990, 1993, 1994, 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 1990, 1993, 1994, 2000, 2001, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/xselect.c b/src/xselect.c
index 062336bc050..71232ee87ba 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -1,6 +1,6 @@
1/* X Selection processing for Emacs. 1/* X Selection processing for Emacs.
2 Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2 Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003,
3 2004, 2005 Free Software Foundation, Inc. 3 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/xsmfns.c b/src/xsmfns.c
index 008b50fc489..974b3a1c6ad 100644
--- a/src/xsmfns.c
+++ b/src/xsmfns.c
@@ -1,6 +1,6 @@
1/* Session management module for systems which understand the X Session 1/* Session management module for systems which understand the X Session
2 management protocol. 2 management protocol.
3 Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
diff --git a/src/xterm.c b/src/xterm.c
index a71ffd75e70..27abaebdb83 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -6508,6 +6508,12 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
6508 so update things that depend on mouse position. */ 6508 so update things that depend on mouse position. */
6509 if (f && !f->output_data.x->hourglass_p) 6509 if (f && !f->output_data.x->hourglass_p)
6510 note_mouse_movement (f, &event.xmotion); 6510 note_mouse_movement (f, &event.xmotion);
6511#ifdef USE_GTK
6512 /* We may get an EnterNotify on the buttons in the toolbar. In that
6513 case we moved out of any highlighted area and need to note this. */
6514 if (!f && last_mouse_glyph_frame)
6515 note_mouse_movement (last_mouse_glyph_frame, &event);
6516#endif
6511 goto OTHER; 6517 goto OTHER;
6512 6518
6513 case FocusIn: 6519 case FocusIn:
@@ -6535,6 +6541,11 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
6535 if (any_help_event_p) 6541 if (any_help_event_p)
6536 do_help = -1; 6542 do_help = -1;
6537 } 6543 }
6544#ifdef USE_GTK
6545 /* See comment in EnterNotify above */
6546 else if (last_mouse_glyph_frame)
6547 note_mouse_movement (last_mouse_glyph_frame, &event);
6548#endif
6538 goto OTHER; 6549 goto OTHER;
6539 6550
6540 case FocusOut: 6551 case FocusOut:
diff --git a/src/xterm.h b/src/xterm.h
index dfb79d9d90f..78d9bc8871c 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -1,6 +1,6 @@
1/* Definitions and headers for communication with X protocol. 1/* Definitions and headers for communication with X protocol.
2 Copyright (C) 1989, 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003, 2 Copyright (C) 1989, 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003,
3 2004, 2005 Free Software Foundation, Inc. 3 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -419,9 +419,6 @@ extern Lisp_Object x_display_name_list;
419/* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */ 419/* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */
420extern Lisp_Object Vx_pixel_size_width_font_regexp; 420extern Lisp_Object Vx_pixel_size_width_font_regexp;
421 421
422/* A flag to control how to display unibyte 8-bit character. */
423extern int unibyte_display_via_language_environment;
424
425extern struct x_display_info *x_display_info_for_display P_ ((Display *)); 422extern struct x_display_info *x_display_info_for_display P_ ((Display *));
426extern struct x_display_info *x_display_info_for_name P_ ((Lisp_Object)); 423extern struct x_display_info *x_display_info_for_name P_ ((Lisp_Object));
427 424