aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-12 19:11:07 +0000
committerRichard M. Stallman1997-07-12 19:11:07 +0000
commit539b4d41598e8892866f4ef9e92bb2ac1d0930a7 (patch)
tree60bb101f51434f738f4febb5f2c8b5708277f2c3
parentc7909e025caf62091eaacde4b019aeca287617b3 (diff)
downloademacs-539b4d41598e8892866f4ef9e92bb2ac1d0930a7.tar.gz
emacs-539b4d41598e8892866f4ef9e92bb2ac1d0930a7.zip
(decode_mode_spec): Initialize and use `p' (for the termcap case).
-rw-r--r--src/xdisp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index a1fad6a504d..d7c0bfe34bc 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -4441,7 +4441,7 @@ decode_mode_spec (w, c, spec_width, maxwidth)
4441 /* coding-system (including end-of-line type) */ 4441 /* coding-system (including end-of-line type) */
4442 { 4442 {
4443 int eol_flag = (c == 'Z'); 4443 int eol_flag = (c == 'Z');
4444 char *p; 4444 char *p = decode_mode_spec_buf;
4445 4445
4446 if (FRAME_TERMCAP_P (f)) 4446 if (FRAME_TERMCAP_P (f))
4447 { 4447 {
@@ -4451,7 +4451,7 @@ decode_mode_spec (w, c, spec_width, maxwidth)
4451 p = decode_mode_spec_coding (terminal_coding.symbol, p, 0); 4451 p = decode_mode_spec_coding (terminal_coding.symbol, p, 0);
4452 } 4452 }
4453 p = decode_mode_spec_coding (b->buffer_file_coding_system, 4453 p = decode_mode_spec_coding (b->buffer_file_coding_system,
4454 decode_mode_spec_buf, eol_flag); 4454 p, eol_flag);
4455 4455
4456#if 0 /* This proves to be annoying; I think we can do without. -- rms. */ 4456#if 0 /* This proves to be annoying; I think we can do without. -- rms. */
4457#ifdef subprocesses 4457#ifdef subprocesses