(decode_mode_spec) <z,Z>: Display buffer coding system
authorRichard M. Stallman <rms@gnu.org>
Wed, 9 Jul 1997 00:28:25 +0000 (00:28 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 9 Jul 1997 00:28:25 +0000 (00:28 +0000)
last of the three.

src/xdisp.c

index 8260c83a5c42ccf0591212517637cd701dc99f16..773d7987798f044a85d0c15b5e56a8d2467892b0 100644 (file)
@@ -4431,8 +4431,6 @@ decode_mode_spec (w, c, spec_width, maxwidth)
        int eol_flag = (c == 'Z');
        char *p;
 
-       p = decode_mode_spec_coding (b->buffer_file_coding_system,
-                                    decode_mode_spec_buf, eol_flag);
        if (FRAME_TERMCAP_P (f))
          {
            /* No need to mention EOL here--the terminal never needs
@@ -4440,6 +4438,9 @@ decode_mode_spec (w, c, spec_width, maxwidth)
            p = decode_mode_spec_coding (keyboard_coding.symbol, p, 0);
            p = decode_mode_spec_coding (terminal_coding.symbol, p, 0);
          }
+       p = decode_mode_spec_coding (b->buffer_file_coding_system,
+                                    decode_mode_spec_buf, eol_flag);
+
 #if 0 /* This proves to be annoying; I think we can do without.  -- rms.  */
 #ifdef subprocesses
        obj = Fget_buffer_process (Fcurrent_buffer ());