Mercurial > hg > xemacs-beta
annotate src/general.c @ 5363:311f6817efc2
Remove various redundant wrapper lambdas, core lisp.
2011-03-08 Aidan Kehoe <kehoea@parhasard.net>
* package-ui.el (pui-add-required-packages):
* packages.el (packages-handle-package-dumped-lisps):
* bytecomp-runtime.el (byte-compile-with-fboundp):
* bytecomp-runtime.el (globally-declare-fboundp):
* bytecomp-runtime.el
(byte-compile-with-byte-compiler-warnings-suppressed):
* mule/devan-util.el (devanagari-reorder-glyphs-for-composition):
* mule/devan-util.el (devanagari-compose-to-one-glyph):
* mule/japanese.el:
* mule/japanese.el ("Japanese"):
* mule/make-coding-system.el (fixed-width-generate-helper):
* mule/mule-category.el (defined-category-list):
* mule/mule-category.el (undefined-category-designator):
Style change: remove redundant lambdas, things like (mapcar
#'(lambda (pkg) (symbol-name pkg)) ...) => (mapcar #'symbol-name ...).
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 08 Mar 2011 18:12:48 +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 } |