]> code.delx.au - gnu-emacs/blobdiff - src/termhooks.h
* progmodes/sh-script.el (sh-mode-map): Don't assume that skeleton is
[gnu-emacs] / src / termhooks.h
index f81d5b6a2b667e1b8729c62f43f06740c4a88840..71a935420d5d08b1b9ee38eaba480ad85cde31e6 100644 (file)
@@ -633,7 +633,7 @@ extern struct terminal *terminal_list;
 #endif
 
 /* Return true if the terminal device is not suspended. */
-#define TERMINAL_ACTIVE_P(d) ((d)->type != output_termcap || (d)->display_info.tty->input)
+#define TERMINAL_ACTIVE_P(d) (((d)->type != output_termcap && (d)->type !=output_msdos_raw) || (d)->display_info.tty->input)
 
 extern Lisp_Object get_terminal_param P_ ((struct terminal *, Lisp_Object));
 extern struct terminal *get_terminal P_ ((Lisp_Object terminal, int));
@@ -643,5 +643,9 @@ extern void delete_terminal P_ ((struct terminal *));
 /* The initial terminal device, created by initial_term_init. */
 extern struct terminal *initial_terminal;
 
+#ifdef HAVE_GPM
+extern void close_gpm (void);
+#endif
+
 /* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d
    (do not change this comment) */