Mercurial > hg > xemacs-beta
annotate src/general.c @ 5330:fbafdc1bb4d2
Use defun*, not cl-parsing-keywords, #'make-dialog-box, #'display-completion-list
lisp/ChangeLog addition:
2011-01-02 Aidan Kehoe <kehoea@parhasard.net>
* dialog.el (make-dialog-box):
* list-mode.el (display-completion-list):
These functions used to use cl-parsing-keywords; change them to
use defun* instead, fixing the build. (Not sure what led to me
not including this change in d1b17a33450b!)
| author | Aidan Kehoe <kehoea@parhasard.net> |
|---|---|
| date | Sun, 02 Jan 2011 17:04:13 +0000 |
| parents | 31be2a3d121d |
| children | 6506fcb40fcf |
| rev | line source |
|---|---|
| 428 | 1 /* Commonly-used symbols |
| 2 Copyright (C) 1995 Sun Microsystems. | |
| 442 | 3 Copyright (C) 1995, 1996, 2000 Ben Wing. |
| 428 | 4 |
| 5 This file is part of XEmacs. | |
| 6 | |
| 7 XEmacs is free software; you can redistribute it and/or modify it | |
| 8 under the terms of the GNU General Public License as published by the | |
| 9 Free Software Foundation; either version 2, or (at your option) any | |
| 10 later version. | |
| 11 | |
| 12 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
| 13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| 15 for more details. | |
| 16 | |
| 17 You should have received a copy of the GNU General Public License | |
| 18 along with XEmacs; see the file COPYING. If not, write to | |
| 19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
| 20 Boston, MA 02111-1307, USA. */ | |
| 21 | |
| 22 /* Synched up with: Not in FSF. */ | |
| 23 | |
| 442 | 24 /* See general-slots.h. |
| 25 */ | |
| 428 | 26 |
| 27 #include <config.h> | |
| 28 #include "lisp.h" | |
| 29 | |
| 442 | 30 #define SYMBOL(fou) Lisp_Object fou |
| 1632 | 31 #define SYMBOL_MODULE_API(fou) Lisp_Object fou |
|
5320
31be2a3d121d
Move Qcount, Q_default, Q_test to general-slots.h; add SYMBOL_KEYWORD_GENERAL()
Aidan Kehoe <kehoea@parhasard.net>
parents:
1632
diff
changeset
|
32 #define SYMBOL_KEYWORD(la_cle_est_folle) Lisp_Object la_cle_est_folle |
| 442 | 33 #define SYMBOL_GENERAL(tout_le_monde, est_fou) Lisp_Object tout_le_monde |
|
5320
31be2a3d121d
Move Qcount, Q_default, Q_test to general-slots.h; add SYMBOL_KEYWORD_GENERAL()
Aidan Kehoe <kehoea@parhasard.net>
parents:
1632
diff
changeset
|
34 #define SYMBOL_KEYWORD_GENERAL(ponle, la_clave) Lisp_Object ponle |
| 442 | 35 |
| 36 #include "general-slots.h" | |
| 37 | |
| 38 #undef SYMBOL | |
| 1632 | 39 #undef SYMBOL_MODULE_API |
| 442 | 40 #undef SYMBOL_KEYWORD |
| 41 #undef SYMBOL_GENERAL | |
|
5320
31be2a3d121d
Move Qcount, Q_default, Q_test to general-slots.h; add SYMBOL_KEYWORD_GENERAL()
Aidan Kehoe <kehoea@parhasard.net>
parents:
1632
diff
changeset
|
42 #undef SYMBOL_KEYWORD_GENERAL |
| 428 | 43 |
| 44 void | |
| 45 syms_of_general (void) | |
| 46 { | |
| 442 | 47 #define SYMBOL(loco) DEFSYMBOL (loco) |
| 1632 | 48 #define SYMBOL_MODULE_API(loco) DEFSYMBOL (loco) |
| 442 | 49 #define SYMBOL_KEYWORD(meshugeneh) DEFKEYWORD (meshugeneh) |
| 50 #define SYMBOL_GENERAL(vachement, fou) defsymbol (&vachement, fou) | |
|
5320
31be2a3d121d
Move Qcount, Q_default, Q_test to general-slots.h; add SYMBOL_KEYWORD_GENERAL()
Aidan Kehoe <kehoea@parhasard.net>
parents:
1632
diff
changeset
|
51 #define SYMBOL_KEYWORD_GENERAL(bescheuert, gaaanz_bescheuert) \ |
|
31be2a3d121d
Move Qcount, Q_default, Q_test to general-slots.h; add SYMBOL_KEYWORD_GENERAL()
Aidan Kehoe <kehoea@parhasard.net>
parents:
1632
diff
changeset
|
52 defkeyword (&bescheuert, gaaanz_bescheuert) |
| 442 | 53 |
| 54 #include "general-slots.h" | |
| 55 | |
| 56 #undef SYMBOL | |
| 57 #undef SYMBOL_KEYWORD | |
| 58 #undef SYMBOL_GENERAL | |
|
5320
31be2a3d121d
Move Qcount, Q_default, Q_test to general-slots.h; add SYMBOL_KEYWORD_GENERAL()
Aidan Kehoe <kehoea@parhasard.net>
parents:
1632
diff
changeset
|
59 #undef SYMBOL_KEYWORD_GENERAL |
| 428 | 60 } |
