Mercurial > emacs
changeset 44065:fca68830d4e0
(DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch
removed the wrong version of the DEFUN macro; fixed it.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 21 Mar 2002 12:17:51 +0000 |
parents | ed2f6fb78d5d |
children | d0bef01f3cb3 |
files | src/lisp.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lisp.h Thu Mar 21 09:44:43 2002 +0000 +++ b/src/lisp.h Thu Mar 21 12:17:51 2002 +0000 @@ -1551,12 +1551,12 @@ #if (!defined (__STDC__) && !defined (PROTOTYPES)) \ || defined (USE_NONANSI_DEFUN) -#define DEFUN(lname, fnname, sname, minargs, maxargs, prompt, args) \ +#define DEFUN(lname, fnname, sname, minargs, maxargs, prompt, doc) \ Lisp_Object fnname (); \ struct Lisp_Subr sname = \ { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), \ fnname, minargs, maxargs, lname, prompt, 0}; \ - Lisp_Object fnname args + Lisp_Object fnname #else