Mercurial > emacs
comparison src/xdisp.c @ 19562:318a3a6a8ff5
(decode_mode_spec): For %Z and %z, put keyboard and
terminal coding systems into modeline on MSDOS frames as well.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 26 Aug 1997 22:41:06 +0000 |
parents | b2544c0eada8 |
children | 28ab022089b2 |
comparison
equal
deleted
inserted
replaced
19561:7e13891b6f22 | 19562:318a3a6a8ff5 |
---|---|
4496 /* coding-system (including end-of-line type) */ | 4496 /* coding-system (including end-of-line type) */ |
4497 { | 4497 { |
4498 int eol_flag = (c == 'Z'); | 4498 int eol_flag = (c == 'Z'); |
4499 char *p = decode_mode_spec_buf; | 4499 char *p = decode_mode_spec_buf; |
4500 | 4500 |
4501 if (FRAME_TERMCAP_P (f)) | 4501 if (! FRAME_WINDOW_P (f)) |
4502 { | 4502 { |
4503 /* No need to mention EOL here--the terminal never needs | 4503 /* No need to mention EOL here--the terminal never needs |
4504 to do EOL conversion. */ | 4504 to do EOL conversion. */ |
4505 p = decode_mode_spec_coding (keyboard_coding.symbol, p, 0); | 4505 p = decode_mode_spec_coding (keyboard_coding.symbol, p, 0); |
4506 p = decode_mode_spec_coding (terminal_coding.symbol, p, 0); | 4506 p = decode_mode_spec_coding (terminal_coding.symbol, p, 0); |