diff options
| author | Eli Zaretskii | 2010-01-30 08:50:39 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2010-01-30 08:50:39 -0500 |
| commit | 0a762a3a21b8d1053751968200331e1a87e2ad22 (patch) | |
| tree | 3ce5de3b8b1607229ee5f52ffe89d40cf64ffb6c /src | |
| parent | 6e7d621c18f9645c886c0bb4fac69ec5c9c1fd12 (diff) | |
| parent | 944c7a26953d6b4b107fe7a14a05cd1d3459bd17 (diff) | |
| download | emacs-0a762a3a21b8d1053751968200331e1a87e2ad22.tar.gz emacs-0a762a3a21b8d1053751968200331e1a87e2ad22.zip | |
Merge from mainline.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 16 | ||||
| -rw-r--r-- | src/character.h | 4 | ||||
| -rw-r--r-- | src/frame.c | 2 | ||||
| -rw-r--r-- | src/w32inevt.c | 2 | ||||
| -rw-r--r-- | src/xfns.c | 2 |
5 files changed, 21 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 38368f33a70..795b6059a6f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2010-01-30 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * character.h (CHAR_PRINTABLE_P): Reparenthesize to avoid warning. | ||
| 4 | |||
| 5 | 2010-01-29 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 7 | * frame.c (DEFAULT_ROWS): Change default to 35. | ||
| 8 | |||
| 9 | * xfns.c (x_default_font_parameter): Change default XFT font to | ||
| 10 | monospace-10 (Bug#3643). | ||
| 11 | |||
| 12 | 2010-01-29 Eli Zaretskii <eliz@gnu.org> | ||
| 13 | |||
| 14 | * w32inevt.c (key_event): Remove unnecessary comparison of | ||
| 15 | event->uChar.AsciiChar with 128. | ||
| 16 | |||
| 1 | 2010-01-28 Chong Yidong <cyd@stupidchicken.com> | 17 | 2010-01-28 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 18 | ||
| 3 | * fileio.c (Frename_file): Fix last change (Bug#5487). | 19 | * fileio.c (Frename_file): Fix last change (Bug#5487). |
diff --git a/src/character.h b/src/character.h index 2d75c9113fb..1f1f6eade84 100644 --- a/src/character.h +++ b/src/character.h | |||
| @@ -136,8 +136,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 136 | 136 | ||
| 137 | /* Nonzero if character C has a printable glyph. */ | 137 | /* Nonzero if character C has a printable glyph. */ |
| 138 | #define CHAR_PRINTABLE_P(c) \ | 138 | #define CHAR_PRINTABLE_P(c) \ |
| 139 | (((c) >= 32 && ((c) < 127) \ | 139 | (((c) >= 32 && (c) < 127) \ |
| 140 | || ! NILP (CHAR_TABLE_REF (Vprintable_chars, (c))))) | 140 | || ! NILP (CHAR_TABLE_REF (Vprintable_chars, (c)))) |
| 141 | 141 | ||
| 142 | /* Return byte length of multibyte form for character C. */ | 142 | /* Return byte length of multibyte form for character C. */ |
| 143 | #define CHAR_BYTES(c) \ | 143 | #define CHAR_BYTES(c) \ |
diff --git a/src/frame.c b/src/frame.c index 631cc6b06b3..f05f9f751da 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -4191,7 +4191,7 @@ On Nextstep, this just calls `ns-parse-geometry'. */) | |||
| 4191 | 4191 | ||
| 4192 | This function does not make the coordinates positive. */ | 4192 | This function does not make the coordinates positive. */ |
| 4193 | 4193 | ||
| 4194 | #define DEFAULT_ROWS 40 | 4194 | #define DEFAULT_ROWS 35 |
| 4195 | #define DEFAULT_COLS 80 | 4195 | #define DEFAULT_COLS 80 |
| 4196 | 4196 | ||
| 4197 | int | 4197 | int |
diff --git a/src/w32inevt.c b/src/w32inevt.c index 159751c8b46..864b3b3f0bb 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c | |||
| @@ -470,7 +470,7 @@ key_event (KEY_EVENT_RECORD *event, struct input_event *emacs_ev, int *isdead) | |||
| 470 | emacs_ev->kind = NO_EVENT; | 470 | emacs_ev->kind = NO_EVENT; |
| 471 | return 0; | 471 | return 0; |
| 472 | } | 472 | } |
| 473 | else if (event->uChar.AsciiChar > 0 && event->uChar.AsciiChar < 128) | 473 | else if (event->uChar.AsciiChar > 0) |
| 474 | { | 474 | { |
| 475 | emacs_ev->kind = ASCII_KEYSTROKE_EVENT; | 475 | emacs_ev->kind = ASCII_KEYSTROKE_EVENT; |
| 476 | emacs_ev->code = event->uChar.AsciiChar; | 476 | emacs_ev->code = event->uChar.AsciiChar; |
diff --git a/src/xfns.c b/src/xfns.c index 0ebce8d1e24..96fb090e327 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3089,7 +3089,7 @@ x_default_font_parameter (f, parms) | |||
| 3089 | = { | 3089 | = { |
| 3090 | #ifdef HAVE_XFT | 3090 | #ifdef HAVE_XFT |
| 3091 | /* This will find the normal Xft font. */ | 3091 | /* This will find the normal Xft font. */ |
| 3092 | "monospace-12", | 3092 | "monospace-10", |
| 3093 | #endif | 3093 | #endif |
| 3094 | "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1", | 3094 | "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1", |
| 3095 | "-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-1", | 3095 | "-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-1", |