annotate etc/custom/down.xpm @ 4641:a90b63846dc4
Set buffer-file-coding-system more sensibly with zero-length files.
lisp/ChangeLog addition:
2009-06-07 Aidan Kehoe <kehoea@parhasard.net>
* code-files.el (insert-file-contents):
Autodetection may return undecided as a coding system. If the file
was zero-length, this is kosher, and we should set
buffer-file-coding-system to its default; if it is not
zero-length, we still need to set b-f-c-s, but we warn that the
autodetection fails. (Ignoring that for the user, autodetection
failing is something very distinct from what we use it to mean
here.) See
http://mid.gmane.org/18986.53111.800393.660612@parhasard.net and
the related thread.
author |
Aidan Kehoe <kehoea@parhasard.net> |
date |
Sun, 07 Jun 2009 16:47:04 +0100 |
parents |
43dd3413c7c7 |
children |
7910031dd78a |
rev |
line source |
155
|
1 /* XPM */
|
|
2 static char * down_xpm[] = {
|
|
3 "10 10 5 1",
|
|
4 " c Gray90",
|
|
5 ". c Gray90",
|
|
6 "X c Gray40",
|
|
7 "o c none",
|
|
8 "O c Gray75",
|
|
9 " ",
|
|
10 ".. XX",
|
|
11 "o..OOOOXXo",
|
|
12 "o..OOOOXXo",
|
|
13 "oo..OOXXoo",
|
|
14 "oo..OOXXoo",
|
|
15 "ooo..XXooo",
|
|
16 "ooo..XXooo",
|
|
17 "oooo.Xoooo",
|
|
18 "oooo.Xoooo"};
|