aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-29 19:38:03 +0000
committerRichard M. Stallman1994-04-29 19:38:03 +0000
commit6b4b52676aff20778d67beb374732be792929d85 (patch)
tree95f3b2be067180c379554a29e7884bb0d6f0b692 /src
parentd1a880cd30020a8f2b310c09bee51baed9eda985 (diff)
downloademacs-6b4b52676aff20778d67beb374732be792929d85.tar.gz
emacs-6b4b52676aff20778d67beb374732be792929d85.zip
(decode_mode_spec): Fix handling of `%t'.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 108d2fe047c..2c6ace5032c 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2947,10 +2947,7 @@ decode_mode_spec (w, c, maxwidth)
2947 2947
2948 case 't': /* indicate TEXT or BINARY */ 2948 case 't': /* indicate TEXT or BINARY */
2949#ifdef MSDOS 2949#ifdef MSDOS
2950 decode_mode_spec_buf[0] 2950 return NILP (current_buffer->buffer_file_type) ? "T" : "B";
2951 = NILP (current_buffer->buffer_file_type) ? "T" : "B";
2952 decode_mode_spec_buf[1] = 0;
2953 return decode_mode_spec_buf;
2954#else /* not MSDOS */ 2951#else /* not MSDOS */
2955 return "T"; 2952 return "T";
2956#endif /* not MSDOS */ 2953#endif /* not MSDOS */