1 2012-10-06 Ulrich Müller <ulm@gentoo.org>
3 * Makefile.in (AR, ARFLAGS): Get values from configure.
5 2012-06-26 Paul Eggert <eggert@cs.ucla.edu>
7 * Makefile.in (ALL_CFLAGS): Add -I../lib -I${srcdir}/../lib.
8 This is needed for hosts that lack <alloca.h>, when Emacs is
9 configured --with-x-toolkit=no. Problem reported by Herbert
10 J. Skuhra for FreeBSD.
12 2012-04-18 Paul Eggert <eggert@cs.ucla.edu>
14 configure: new option --enable-gcc-warnings (Bug#11207)
15 * Makefile.in (C_WARNINGS_SWITCH): Remove.
16 (WARN_CFLAGS, WERROR_CFLAGS): New macros.
17 (ALL_CFLAGS): Use new macros rather than old.
19 2012-04-11 Glenn Morris <rgm@gnu.org>
21 * Makefile.in (C_SWITCH_X_SYSTEM): Remove.
22 (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.
24 2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
26 Static checks with GCC 4.6.0 and non-default toolkits.
28 Modernize to C89, for better static checking.
29 * Activate.c (XMenuActivate): Callback's first arg is readonly.
30 * AddPane.c (XMenuAddPane): Label is readonly. Rename local
32 * AddSel.c (XMenuAddSelection): Help arg is readonly. Rename local.
33 * Create.c (atoi, atof): Remove decls; include <stdlib.h>.
34 (MAX_INACT_PNUM, TILE_BUF_SIZE): Remove; unused.
35 (x_get_resource_string): Args are readonly.
36 (XAllocDisplayColor): colorName is readonly.
37 (XMenuCreate): def_env is readonly. Remove unused locals. Avoid
39 * Destroy.c (XMenuDestroy): Return void.
40 * Error.c (XMenuError): Remove const pointer.
41 * EvHand.c (XMenuEventHandler): Return void.
42 * FindPane.c, FindSel.c: Include <string.h>.
43 * InsPane.c (XMenuInsertPane): Rename local to avoid shadowing.
44 * InsSel.c (XMenuInsertSelection): Likewise.
45 * Internal.c (toggle_color, BUFFER_SIZE): Remove; unused.
46 (_XMErrorList): Now const.
47 (_XMWinQueInit, _XMRecomputeGlobals, _XMTransToOrigin, _XMRefreshPane):
48 (_XMRefreshSelection): Return void.
49 (_XMWinQueFlush, _XMRefreshSelection): Rename locals to avoid
51 (_XMWinQueFlush): Use stack, not heap. Don't use uninitialized var.
52 * SetAEQ.c (XMenuSetAEQ): Now returns void.
53 * SetFrz.c (XMenuSetFreeze): Likewise.
54 * X10.h (XAssoc): Use void * for generic pointer.
55 * XDelAssoc.c: Include XMenuInt.h rather than duplicating part of it.
56 * XDestAssoc.c, XMakeAssoc.c: Likewise.
57 * XDestAssoc.c (XDestroyAssocTable): Return void.
58 * XMakeAssoc.c (XMakeAssoc): Use void * for generic pointer.
59 * XMenu.h, XMenuInt.h: Adjust to signature changes. Use const
60 for pointers to readonly storage.
61 * insque.c: Include XMenuInt.h, to check our own signature.
62 (emacs_insque, emacs_remque): Use void * for generic pointers.
64 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
66 * Version 23.3 released.
68 2010-11-09 Elias Pipping <pipping.elias@googlemail.com> (tiny change)
70 Make Emacs compile with clang (bug#7309).
71 * XMakeAssoc.c (XMakeAssoc):
72 * XDelAssoc.c (XDeleteAssoc): Declare the return type.
74 2010-07-12 Dan Nicolaescu <dann@ics.uci.edu>
76 * XMenu.h: Include <stdlib.h>.
78 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
80 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS): Set from
82 (ALL_CFLAGS): Add ${C_WARNINGS_SWITCH} and ${PROFILING_CFLAGS}.
84 2010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
86 * Activate.c: Convert function definitions to standard C.
117 * insque.c: Likewise.
119 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
121 * Version 23.2 released.
123 2010-05-06 Glenn Morris <rgm@gnu.org>
125 * Makefile.in (RANLIB): Let configure set it.
126 (libXMenu11.a): Configure sets RANLIB = : on systems without it.
128 * Makefile.in (CPP, LN_S, AS, LD, MV, LS, LINTOPTS, LINTLIBFLAG, MAKE)
129 (STD_DEFINES, CDEBUGFLAGS, RM_CMD): Remove unused variables.
131 2010-05-04 Glenn Morris <rgm@gnu.org>
133 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE):
134 Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
135 @c_switch_system@, @c_switch_machine@.
137 2010-04-27 Dan Nicolaescu <dann@ics.uci.edu>
139 * Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf.
141 2010-04-23 Dan Nicolaescu <dann@ics.uci.edu>
143 * Makefile.in (ALL_CFLAGS): Remove C_SWITCH_X_MACHINE, unused.
145 2010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
147 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE)
148 (C_SWITCH_X_SITE): Define using autoconf.
150 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
154 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
158 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
161 * compile.com: Remove file.
162 * Create.c: Remove VMS support.
164 2008-07-23 Dan Nicolaescu <dann@ics.uci.edu>
166 * Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE.
168 2007-07-25 Glenn Morris <rgm@gnu.org>
170 * Relicense all FSF files to GPLv3 or later.
172 2007-06-04 Ulrich Mueller <ulm@gentoo.org> (tiny change)
174 * ChgPane.c, ChgSel.c: Quiet --with-x-toolkit=no
175 compilation warnings: #include <config.h>.
177 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
179 * Version 22.1 released.
181 2007-05-30 Ulrich Mueller <ulm@gentoo.org> (tiny change)
183 * XMakeAssoc.c (XMakeAssoc): Use malloc rather than xmalloc.
185 2007-02-27 Glenn Morris <rgm@gnu.org>
187 * Imakefile: Remove unused file with no explicit legal info.
188 * Makefile.in (distclean): Remove Makefile.
190 2007-02-25 Glenn Morris <rgm@gnu.org>
192 * XCrAssoc.c, XDelAssoc.c, XDestAssoc.c, XLookAssoc.c:
193 * XMakeAssoc.c: Remove license text in favor of including
194 copyright.h, as was done in original X11 source.
196 2004-12-27 Jan Djärv <jan.h.d@swipnet.se>
198 * Activate.c (XMenuActivate): Return XM_NO_SELECT if Escape or C-g
201 2004-11-12 Jan Djärv <jan.h.d@swipnet.se>
203 * XMenu.h (XMenuActivateSetWaitFunction): New function.
205 * Activate.c (XMenuActivateSetWaitFunction): New function.
206 (XMenuActivate): Call wait_func if set, before XNextEvent.
208 2002-04-22 Jan Djärv <jan.h.d@swipnet.se>
210 * Activate.c: Add calls to GrabKeyboard to remove strange
211 interactions with window managers that steal keypresses.
212 Call ungrab_all instead of XtUngrabPointer.
213 (XMenuActivate): Add call to XGrabKeyboard.
214 (XMenuActivate): Add call to XUngrabKeyboard.
216 2001-10-20 Gerd Moellmann <gerd@gnu.org>
218 * (Version 21.1 released.)
220 2001-10-05 Gerd Moellmann <gerd@gnu.org>
224 2000-07-21 Eli Zaretskii <eliz@is.elta.co.il>
226 * Activate.c (XMenuActivate): Call help callback with two more
227 arguments: the pane number and selection number.
229 2000-01-27 Gerd Moellmann <gerd@gnu.org>
231 * Activate.c (XMenuActivate): Add parameter HELP_CALLBACK.
234 * Post.c (XMenuPost): Pass null help callback to XMenuActivate.
236 * AddSel.c (XMenuAddSelection): Add parameter HELP.
238 * XMenu.h (XmSelect): Add member `help_string'.
240 1999-07-12 Richard Stallman <rms@gnu.org>
242 * Version 20.4 released.
244 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
246 * Version 20.3 released.
248 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
250 * Version 20.2 released.
252 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
254 * Version 20.1 released.
256 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
258 * Version 19.33 released.
260 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
262 * Version 19.32 released.
264 1996-06-12 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
266 * Internal.c (_XMRefreshSelection): Check for type SEPARATOR.
267 * InsSel.c (XMenuInsertSelection): Use SEPARATOR if nec.
268 * AddSel.c (XMenuAddSelection): Use SEPARATOR if nec.
270 * XMenu.h: New alternative SEPARATOR.
272 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
274 * Version 19.31 released.
276 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
278 * Version 19.30 released.
280 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
282 * Makefile.in (ALL_CFLAGS): Add some -I options.
284 * Activate.c, AddPane.c, AddSel.c, Create.c, InsPane.c, InsSel.c:
285 * Internal.c, XCrAssoc.c, XMakeAssoc.c: Include config.h.
287 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
289 * Version 19.29 released.
291 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
293 * Makefile.in (maintainer-clean): Renamed from realclean.
295 1994-10-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
297 * Makefile.in (ALL_CFLAGS): Reorder the switches more rationally.
299 1994-10-24 Jim Wilson (wilson@chestnut.cygnus.com)
301 * Makefile.in (ALL_CFLAGS): Add C_SWITCH_X_MACHINE.
303 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
305 * Version 19.27 released.
307 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
309 * Version 19.26 released.
311 1994-07-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
313 * Error.c (XMenuError): Make `message' static.
315 1994-06-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
317 * Create.c (XAllocDisplayColor): New function.
318 Use it throughout in place of XAllocNamedColor.
320 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
322 * Version 19.25 released.
324 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
326 * Version 19.24 released.
328 1994-05-17 Karl Heuer (kwzh@hal.gnu.ai.mit.edu)
330 * Create.c (XMenuCreate): Declare `data' as char*.
332 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
334 * Version 19.23 released.
336 1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
338 * Create.c (XMenuCreate): Declare `data' as unsigned char*.
340 1994-01-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
342 * XMakeAssoc.c (XMakeAssoc): Use xmalloc.
343 (_XIOErrorFunction): Decl deleted.
345 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
347 * Version 19.22 released.
349 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
351 * Activate.c (XMenuActivate):
352 Call XSetWindowBackground and _XMRefreshPane.
354 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
356 * Version 19.21 released.
358 1993-11-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
360 * Makefile.in (libXMenu11.a): Tell make not to worry if ranlib fails.
361 Tell user too, in case make doesn't pay attention.
363 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
365 * Version 19.20 released.
367 1993-10-25 Brian J. Fox (bfox@albert.gnu.ai.mit.edu)
369 * Makefile.in (ALL_CFLAGS): Add C_SWITCH_X_SYSTEM.
371 1993-09-27 Brian J. Fox (bfox@valhalla)
373 * Makefile.in (CPP, LN_S, C_SWITCH_X_SITE, CC, CFLAGS): Allow
374 `configure' to supply the values for these variables.
376 1993-09-26 Brian J. Fox (bfox@ai.mit.edu)
378 * Makefile.in (VPATH, srcdir): Now that `configure' creates the
379 Makefiles, do not append the current directory to the value of
382 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
384 * Version 19.19 released.
386 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
388 * Version 19.18 released.
390 1993-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
392 * Internal.c (_XMWinQueInit): Use explicit loop, not bzero.
394 1993-07-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
396 * Makefile (ALL_CFLAGS): Use all 6 C_SWITCH_... vars.
398 Among them, put the ..._SITE vars last.
400 1993-07-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
402 * Version 19.17 released.
404 1993-07-07 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
406 * Makefile.in: Write out the dependencies for the object files;
407 otherwise, VPATH won't work.
409 * Makefile.in: Re-arrange, to put `all' target at the top.
411 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
413 * Version 19.16 released.
415 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
417 * version 19.15 released.
419 1993-06-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
421 * Makefile.in (ALL_CFLAGS): Always #define EMACS_BITMAP_FILES.
422 This should make it work under any circumstances.
424 * Makefile.in (mostlyclean): Use rm -f.
426 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
428 * Version 19.14 released.
430 1993-06-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
432 * Makefile.in (ALL_CFLAGS): Include C_SWITCH_MACHINE, and CPPFLAGS.
435 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
437 Bring mumbleclean targets into conformance with GNU coding standards.
438 * Makefile.in (mostlyclean, realclean): New targets.
440 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
442 * Version 19.13 released.
444 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
446 * Version 19.10 released.
448 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
450 * Create.c: Handle EMACS_BITMAP_FILES.
451 Use new names of renamed bitmap files.
453 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
455 * AddPane.c, AddSel.c, DelPane.c, DelSel.c, InsPane.c, InsSel.c,
456 XDelAssoc.c, XMakeAssoc.c, XMenu.h, insque.c: Changed all uses of
457 insque and remque to emacs_insque and emacs_remque, so we can
458 safely include insque.c in the library on all systems.
460 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
462 * Makefile.in (.c.o): Use $< instead of ${srcdir}/$*.c; the latter
463 only works with GNU Make.
465 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
467 * Create.c (XMenuCreate): Use classes PaneFont and SelectionFont.
469 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
471 * Version 19.9 released.
473 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
475 * Create.c (XMenuCreate): Use x_get_resource_string, not XGetDefault.
477 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
479 * Version 19.8 released.
481 1993-05-23 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
483 * Makefile.in (C_SWITCH_X_SITE): New variable, so that the
484 configuration process can correctly implement the --x-includes
487 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
489 * Create.c (XMenuCreate): Initialize the menu's pixmaps to None,
492 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
494 * Version 19.7 released.
496 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
498 * Makefile.in: Renamed from Makefile, so that the top-level
499 makefile can edit it.
501 1993-04-13 Jim Blandy (jimb@totoro.cs.oberlin.edu)
503 * XLookAssoc.c, XMakeAssoc.c: VMS needs <X11/Xresource.h>, not
506 * XCrAssoc.c: #include <errno.h>, not "errno.h".
507 (XCreateAssocTable): Doc fix.
509 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
511 * Makefile (.c.o): Include C_SWITCH_SITE and C_SWITCH_SYSTEM in
512 the options to the C compiler.
514 * compile.com, descrip.mms: New files for VMS from Richard
516 * XCrAssoc.c, XLookAssoc.c, XDestAssoc.c, XDelAssoc.c: Use <angle
517 brackets> around the names of the X Windows #include files; VMS
519 * XLookAssoc.c, XMakeAssoc.c: #include <X11/Xos.h>. VMS needs
521 * Create.c: On VMS, we have to look for the bitmap files in
522 `./src/bitmaps', not <X11/bitmaps>.
524 1993-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
526 * Makefile (.c.o): Don't rm the .o files.
528 1993-03-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
530 * Activate.c (XMenuActivate): If `active' field is negative,
531 don't allow selecting a string.
533 1993-03-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
535 * Create.c (XMenuCreate): New variable `root', holding the
536 display's default root window, so we don't have to write out
537 "RootWindow (display, DefaultScreen (display))" a jillion times.
539 * Create.c (XMenuCreate): Don't assume that all the
540 <X11/bitmaps/foo> patterns are 16x16. Instead of building a
541 bitmap and then converting it to a pixmap of the appropriate
542 depth if necessary, build a pixmap of the appropriate depth
543 directly, using XCreatePixmapFromBitmapData.
545 * Imakefile: Include XCrAssoc.c, XDelAssoc.c, XDestAssoc.c,
546 XLookAssoc.c, and XMakeAssoc.c in SRCS. Similarly for OBJS.
548 * XMenuInt.h: #include <stdio.h> before <X11/Xlib.h>, to avoid
549 warnings about redefining NULL.
551 * XMakeAssoc.c, XLookAssoc.c, XDestAssoc.c, XDelAssoc.c,
552 XCrAssoc.c: #include X11/Xlib.h instead of X11/Xlibint.h.
554 * XMakeAssoc.c, XLookAssoc.c, XCrAssoc.c: If NULL isn't defined by
555 any of the `.h' files, define it.
557 * XMakeAssoc.c, XCrAssoc.c: #include <errno.h>.
558 Add an extern declaration for errno.
560 * XMakeAssoc.c: Add an extern declaration for _XIOErrorFunction.
561 (XMakeAssoc): Use malloc instead of Xmalloc to allocate new
562 parts of the assoc table.
563 * XCrAssoc.c (XCreateAssocTable): Same.
565 * XDestAssoc.c (XDestroyAssocTable): Use free instead of Xfree.
566 * XDelAssoc.c (XDeleteAssoc): Same.
568 1992-10-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
570 * XMakeAssoc.c (XMakeAssoc): Use malloc, not Xmalloc.
571 * XCrAssoc.c (XCreateAssocTable): Use malloc and calloc directly.
572 * XDelAssoc.c (XDeleteAssoc): Use free, not Xfree.
573 * XDestAssoc.c (XDestroyAssocTable): Likewise.
575 1992-10-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
577 * XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c:
578 Use Xlib.h, not Xlibint.h.
579 * XLookAssoc.c, XMakeAssoc.c, XCrAssoc.c (NULL): Defined.
580 * XMakeAssoc.c, XCrAssoc.c: Include errno.h. Declare errno.
581 * XMakeAssoc.c (_XIOErrorFunction): Declared.
583 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
585 * XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c:
586 Specify dir X11/ when including Xlibint.h.
588 1992-09-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
590 * XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c:
593 * Makefile (SRCS, OBJS): Compile those files.
595 1992-01-31 Richard Stallman (rms@mole.gnu.ai.mit.edu)
597 * Makefile (clean): Delete object files and library.
598 (distclean): New target.
600 1992-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
602 * Makefile (libXMenu11.a): Put `-' on ranlib line.
604 1992-01-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
606 * Makefile (EXTRA): New variable.
607 (libXMenu11.a): Use that.
609 * insque.c: New file.
611 1992-01-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
613 * Makefile (CC): Assignment commented out.
615 1991-11-16 Noah Friedman (friedman@nutrimat)
617 * copyright.h: New file (copied from X11R4 distribution)
618 * All files: Replaced occurrences of #include <X11/copyright.h>
619 with #include "copyright.h".
621 1991-10-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
623 * XMenu.h (enum _xmmode): Remove spurious comma.
626 * XMenu.h, XMenuInt.h: Include X10.h from this dir.
628 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
630 * XMenu.h (struct _xmenu): Use unsigned long for colors.
632 1990-11-12 Richard Stallman (rms@mole.ai.mit.edu)
634 * Internal.c: Declare argument `display' in some functions.
641 Copyright (C) 1993-1999, 2001-2012 Free Software Foundation, Inc.
643 This file is part of GNU Emacs.
645 GNU Emacs is free software: you can redistribute it and/or modify
646 it under the terms of the GNU General Public License as published by
647 the Free Software Foundation, either version 3 of the License, or
648 (at your option) any later version.
650 GNU Emacs is distributed in the hope that it will be useful,
651 but WITHOUT ANY WARRANTY; without even the implied warranty of
652 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
653 GNU General Public License for more details.
655 You should have received a copy of the GNU General Public License
656 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.