Mercurial > hg > xemacs-beta
annotate etc/toolbar/last-win-up.xbm @ 5243:808131ba4a57
Print symbols with ratio-like names and the associated ratios distinctly.
src/ChangeLog addition:
2010-08-15 Aidan Kehoe <kehoea@parhasard.net>
* print.c (print_symbol):
Escape any symbols that look like ratios, in the same way we do
symbols that look like floats or integers. Prevents confusion in
the Lisp reader.
* lread.c (isratio_string): Make this available even on builds
without HAVE_RATIO, so we can print symbols that look like ratios
with the appropriate escapes.
* lisp.h:
Make isratio_string available even if HAVE_RATIO is not defined.
tests/ChangeLog addition:
2010-08-15 Aidan Kehoe <kehoea@parhasard.net>
* automated/lisp-tests.el:
Test that symbols with names that look like ratios are printed
distinctly from the equivalent ratios.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 15 Aug 2010 13:29:10 +0100 |
parents | 376386a54a3c |
children | 7910031dd78a |
rev | line source |
---|---|
0 | 1 #define noname_width 28 |
2 #define noname_height 28 | |
3 static char noname_bits[] = { | |
4 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x07,0x00,0x00,0x21, | |
5 0x04,0x00,0xfe,0x2f,0x04,0x00,0x42,0x28,0x04,0xfc,0x5f,0x28,0x04,0x84,0x50, | |
6 0x28,0x04,0x84,0x50,0xf8,0x07,0x84,0x50,0x28,0x04,0x84,0xf0,0x2f,0x04,0x84, | |
7 0x50,0x28,0x04,0xfc,0x5f,0x28,0x04,0x84,0x50,0x28,0x04,0x84,0x50,0xf8,0x07, | |
8 0x84,0x50,0x08,0x00,0x84,0xf0,0x0f,0x00,0x84,0x10,0x00,0x00,0xfc,0x1f,0x00, | |
9 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x80,0x03, | |
10 0x00,0x00,0xe0,0xff,0xff,0x00,0x80,0x03,0x00,0x00,0x00,0x06,0x00,0x00,0x00, | |
11 0x00,0x00,0x00,0x00,0x00,0x00,0x00}; |