annotate lisp/toolbar/exit.xpm @ 38536:09aca87f88ce

Overall speedup when using many buffers. (uniquify-fix-item-base, uniquify-fix-item-filename, uniquify-fix-item-buffer): Changed defmacro to defalias (cosmetic change). (uniquify-fix-item-unrationalized-buffer): Deleted: was the fourth place in the item, but waas never used. (uniquify-fix-item-min-proposed): New defalias: the fourth place in the item is now used as cache for the proposed name. (uniquify-rationalize-file-buffer-names): Move computation made on newbuffile out of the loop, in the newbuffile-nd local var. Use dolist (cosmetic change). Compute the proposed name for the most common case and cache it in the fourth place in the item. (uniquify-rationalize-file-buffer-names): Used to return a list of flags indicating renamed buffers, but that return value was never used. (uniquify-item-lessp): Replaces uniquify-filename-lessp, works on the cached proposed name, does much less consing and is quicker. (uniquify-filename-lessp): Deleted. (uniquify-rationalize-a-list): Use dolist (cosmetic change). Do not bind locally the uniquify-possibly-resolvable flag. Use the cached proposed name if possible. (uniquify-get-proposed-name): Arguments changed, callers changed. (uniquify-rationalize-conflicting-sublist): Explicitely reset the uniquify-possibly-resolvable flag, which is no more bound locally. (uniquify-rename-buffer): Do not set the unrationalised-buffer flag, which is replaced by the cached proposed name.
author Francesco Potortì <pot@gnu.org>
date Tue, 24 Jul 2001 10:39:09 +0000
parents 8f4a34146a9d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31591
f115e74e9dd1 New. (Gnome icon by tigert.)
Dave Love <fx@gnu.org>
parents:
diff changeset
1 /* XPM */
32389
03a8b6779868 Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents: 31591
diff changeset
2 static char *magick[] = {
03a8b6779868 Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents: 31591
diff changeset
3 /* columns rows colors chars-per-pixel */
32452
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
4 "24 24 6 1",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
5 " c Gray0",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
6 ". c #ae6e66e76a0a",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
7 "X c #c6c67d7d8181",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
8 "o c #cdcd86868989",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
9 "O c #e4e4e4e4dcdc",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
10 "+ c None",
32389
03a8b6779868 Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents: 31591
diff changeset
11 /* pixels */
32452
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
12 "++++++++++++++++++++++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
13 "++++++++++++++++++++++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
14 "++++++++++++++++++++++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
15 "++++++++++++++++++++++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
16 "++++++++++++++++++++++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
17 "++++++++++ +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
18 "++++++++++ OOOOOO +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
19 "++++++++++ OOOOOO +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
20 "++++++++ OOOOOO +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
21 "++++++++ . OOOOOO +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
22 "+++ .X OO O +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
23 "+++ ......Xo O O +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
24 "+++ ......Xo OOOO +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
25 "+++ .X OOOOO +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
26 "++++++++ . OOOOOO +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
27 "++++++++ OOOOOO +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
28 "++++++++++ OOOO +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
29 "++++++++++ OO +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
30 "++++++++++ +++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
31 "++++++++++++++++++++++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
32 "++++++++++++++++++++++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
33 "++++++++++++++++++++++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
34 "++++++++++++++++++++++++",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
35 "++++++++++++++++++++++++"
32389
03a8b6779868 Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents: 31591
diff changeset
36 };