Mercurial > emacs
comparison src/lisp.h @ 91702:b7a5a89054dc
* configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code
dealing with obsolete variables.
* fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
(main): Replace MAIL_PROGRAM_NAME with its value.
* src/Makefile.in:
* src/emacs.c:
* src/gmalloc.c:
* src/keyboard.c:
* src/lisp.h:
* src/m/ibm370aix.h:
* src/process.c:
* src/regex.c:
* src/s/hpux.h:
* src/sysdep.c:
* src/sysselect.h:
* src/systty.h:
* src/unexec.c:
* src/w32term.c:
* src/xsmfns.c:
* src/xterm.c: Remove code that deals with obsolete variables.
* s/msdos.h (DONT_NEED_ENVIRON): Don't define.
* ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test,
nothing else needs it anymore.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sat, 09 Feb 2008 18:03:10 +0000 |
parents | c70e45a7acfd |
children | 23bd9edca21f |
comparison
equal
deleted
inserted
replaced
91701:8fac5ad6ff83 | 91702:b7a5a89054dc |
---|---|
1663 If it's a string that doesn't start with `(', the value should follow | 1663 If it's a string that doesn't start with `(', the value should follow |
1664 the one of the doc string for `interactive'. | 1664 the one of the doc string for `interactive'. |
1665 A null string means call interactively with no arguments. | 1665 A null string means call interactively with no arguments. |
1666 `doc' is documentation for the user. */ | 1666 `doc' is documentation for the user. */ |
1667 | 1667 |
1668 #if (!defined (__STDC__) && !defined (PROTOTYPES)) \ | 1668 #if (!defined (__STDC__) && !defined (PROTOTYPES)) |
1669 || defined (USE_NONANSI_DEFUN) | |
1670 | 1669 |
1671 #define DEFUN(lname, fnname, sname, minargs, maxargs, intspec, doc) \ | 1670 #define DEFUN(lname, fnname, sname, minargs, maxargs, intspec, doc) \ |
1672 Lisp_Object fnname (); \ | 1671 Lisp_Object fnname (); \ |
1673 DECL_ALIGN (struct Lisp_Subr, sname) = \ | 1672 DECL_ALIGN (struct Lisp_Subr, sname) = \ |
1674 { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), \ | 1673 { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), \ |
2113 | 2112 |
2114 void staticpro P_ ((Lisp_Object *)); | 2113 void staticpro P_ ((Lisp_Object *)); |
2115 | 2114 |
2116 /* Declare a Lisp-callable function. The MAXARGS parameter has the same | 2115 /* Declare a Lisp-callable function. The MAXARGS parameter has the same |
2117 meaning as in the DEFUN macro, and is used to construct a prototype. */ | 2116 meaning as in the DEFUN macro, and is used to construct a prototype. */ |
2118 #if (!defined (__STDC__) && !defined (PROTOTYPES)) \ | 2117 #if (!defined (__STDC__) && !defined (PROTOTYPES)) |
2119 || defined (USE_NONANSI_DEFUN) | |
2120 #define EXFUN(fnname, maxargs) \ | 2118 #define EXFUN(fnname, maxargs) \ |
2121 extern Lisp_Object fnname () | 2119 extern Lisp_Object fnname () |
2122 #else | 2120 #else |
2123 /* We can use the same trick as in the DEFUN macro to generate the | 2121 /* We can use the same trick as in the DEFUN macro to generate the |
2124 appropriate prototype. */ | 2122 appropriate prototype. */ |
3366 #endif | 3364 #endif |
3367 #ifndef IS_ANY_SEP | 3365 #ifndef IS_ANY_SEP |
3368 #define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_)) | 3366 #define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_)) |
3369 #endif | 3367 #endif |
3370 | 3368 |
3371 #ifdef SWITCH_ENUM_BUG | |
3372 #define SWITCH_ENUM_CAST(x) ((int)(x)) | |
3373 #else | |
3374 #define SWITCH_ENUM_CAST(x) (x) | 3369 #define SWITCH_ENUM_CAST(x) (x) |
3375 #endif | |
3376 | 3370 |
3377 /* Loop over Lisp list LIST. Signal an error if LIST is not a proper | 3371 /* Loop over Lisp list LIST. Signal an error if LIST is not a proper |
3378 list, or if it contains circles. | 3372 list, or if it contains circles. |
3379 | 3373 |
3380 HARE and TORTOISE should be the names of Lisp_Object variables, and | 3374 HARE and TORTOISE should be the names of Lisp_Object variables, and |