annotate etc/custom/option.xpm @ 5268:09f8ed0933c7
Avoid byte compiler warnings, some needless consing, descr-text.el
lisp/ChangeLog addition:
2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
* descr-text.el (unidata-initialize-unicodedata-database)
(unidata-initialize-unihan-database, describe-char-unicode-data)
(describe-char-unicode-data):
Wrap calls to the database functions with (with-fboundp ...),
avoiding byte compile warnings on builds without support for the
database functions.
(describe-char): (reduce #'max ...), not (apply #'max ...), no
need to cons needlessly.
(describe-char): Remove a redundant lambda wrapping
#'extent-properties.
(describe-char-unicode-data): Call #'nsubst when replacing "" with
nil in the result of #'split-string, instead of consing inside
mapcar.
author |
Aidan Kehoe <kehoea@parhasard.net> |
date |
Thu, 16 Sep 2010 15:24:40 +0100 |
parents |
5a88923fcbfe |
children |
7910031dd78a |
rev |
line source |
165
|
1 /* XPM */
|
|
2 static char *option[] = {
|
|
3 /* width height num_colors chars_per_pixel */
|
|
4 " 17 17 4 1",
|
|
5 /* colors */
|
|
6 ". c #000000",
|
|
7 "a c #a8b038",
|
|
8 "b c #f8f800",
|
|
9 "c s None c None",
|
|
10 /* pixels */
|
|
11 "ccccccccccccccccc",
|
|
12 "ccccccccccccccccc",
|
|
13 "cccccbbbbbbcccccc",
|
|
14 "ccccbbbbbbbbccccc",
|
|
15 "cccbbbaaaabbbcccc",
|
|
16 "ccbbbaaaaaabbbccc",
|
|
17 "cbbbaabbbaabbbbcc",
|
|
18 "cbbbaababaabbbbcc",
|
|
19 "cbbbbbbbaabbbbbcc",
|
|
20 "cbbbbbbaabbbbbbcc",
|
|
21 "cbbbbbbaabbbbbbcc",
|
|
22 "cbbbbbbbbbbbbbbcc",
|
|
23 "ccbbbbbaabbbbbccc",
|
|
24 "cccbbbbaabbbbcccc",
|
|
25 "ccccbbbbbbbbccccc",
|
|
26 "cccccbbbbbbcccccc",
|
|
27 "ccccccccccccccccc"
|
|
28 };
|