diff options
| author | Geoff Voelker | 1998-04-29 04:34:52 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1998-04-29 04:34:52 +0000 |
| commit | eccec691ae7e67c8c2ae18702458a8d2c0dfaae1 (patch) | |
| tree | 16bf5e1cb4d730b6c6f98e6fc447fa27cc355646 /src/term.c | |
| parent | 38adb313a0954b7344fb74f0635ca9d6bbacee82 (diff) | |
| download | emacs-eccec691ae7e67c8c2ae18702458a8d2c0dfaae1.tar.gz emacs-eccec691ae7e67c8c2ae18702458a8d2c0dfaae1.zip | |
Include cm.h after dispextern.h to avoid name conflicts
in Windows system headers.
(term_init) [WINDOWSNT]: Do not include remainder of function.
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index db1f317114e..05860cf7bd4 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -24,7 +24,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 24 | #include <ctype.h> | 24 | #include <ctype.h> |
| 25 | #include "termchar.h" | 25 | #include "termchar.h" |
| 26 | #include "termopts.h" | 26 | #include "termopts.h" |
| 27 | #include "cm.h" | ||
| 28 | #undef NULL | 27 | #undef NULL |
| 29 | #include "lisp.h" | 28 | #include "lisp.h" |
| 30 | #include "charset.h" | 29 | #include "charset.h" |
| @@ -34,6 +33,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 34 | #include "termhooks.h" | 33 | #include "termhooks.h" |
| 35 | #include "keyboard.h" | 34 | #include "keyboard.h" |
| 36 | #include "dispextern.h" | 35 | #include "dispextern.h" |
| 36 | #include "cm.h" | ||
| 37 | #ifdef HAVE_X_WINDOWS | 37 | #ifdef HAVE_X_WINDOWS |
| 38 | #include "xterm.h" | 38 | #include "xterm.h" |
| 39 | #endif | 39 | #endif |
| @@ -1604,7 +1604,7 @@ term_init (terminal_type) | |||
| 1604 | FRAME_VERTICAL_SCROLL_BAR_TYPE (selected_frame) = vertical_scroll_bar_none; | 1604 | FRAME_VERTICAL_SCROLL_BAR_TYPE (selected_frame) = vertical_scroll_bar_none; |
| 1605 | 1605 | ||
| 1606 | return; | 1606 | return; |
| 1607 | #endif /* WINDOWSNT */ | 1607 | #else /* not WINDOWSNT */ |
| 1608 | 1608 | ||
| 1609 | Wcm_clear (); | 1609 | Wcm_clear (); |
| 1610 | 1610 | ||
| @@ -1929,6 +1929,7 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.", | |||
| 1929 | 1929 | ||
| 1930 | FRAME_CAN_HAVE_SCROLL_BARS (selected_frame) = 0; | 1930 | FRAME_CAN_HAVE_SCROLL_BARS (selected_frame) = 0; |
| 1931 | FRAME_VERTICAL_SCROLL_BAR_TYPE (selected_frame) = vertical_scroll_bar_none; | 1931 | FRAME_VERTICAL_SCROLL_BAR_TYPE (selected_frame) = vertical_scroll_bar_none; |
| 1932 | #endif /* WINDOWSNT */ | ||
| 1932 | } | 1933 | } |
| 1933 | 1934 | ||
| 1934 | /* VARARGS 1 */ | 1935 | /* VARARGS 1 */ |