diff options
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/term.c b/src/term.c index 9f281db0182..1ef1f2da929 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 27 | #include <string.h> | 27 | #include <string.h> |
| 28 | #include "termchar.h" | 28 | #include "termchar.h" |
| 29 | #include "termopts.h" | 29 | #include "termopts.h" |
| 30 | #define DOC_STRINGS_IN_COMMENTS | ||
| 30 | #include "lisp.h" | 31 | #include "lisp.h" |
| 31 | #include "charset.h" | 32 | #include "charset.h" |
| 32 | #include "coding.h" | 33 | #include "coding.h" |
| @@ -2175,8 +2176,8 @@ turn_off_face (f, face_id) | |||
| 2175 | 2176 | ||
| 2176 | DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p, | 2177 | DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p, |
| 2177 | 0, 1, 0, | 2178 | 0, 1, 0, |
| 2178 | "Return non-nil if TTY can display colors on FRAME.") | 2179 | /* Return non-nil if TTY can display colors on FRAME. */ |
| 2179 | (frame) | 2180 | (frame)) |
| 2180 | Lisp_Object frame; | 2181 | Lisp_Object frame; |
| 2181 | { | 2182 | { |
| 2182 | return TN_max_colors > 0 ? Qt : Qnil; | 2183 | return TN_max_colors > 0 ? Qt : Qnil; |
| @@ -2607,18 +2608,18 @@ fatal (str, arg1, arg2) | |||
| 2607 | void | 2608 | void |
| 2608 | syms_of_term () | 2609 | syms_of_term () |
| 2609 | { | 2610 | { |
| 2610 | DEFVAR_BOOL ("system-uses-terminfo", &system_uses_terminfo, | 2611 | DEFVAR_BOOL ("system-uses-terminfo", &system_uses_terminfo |
| 2611 | "Non-nil means the system uses terminfo rather than termcap.\n\ | 2612 | /* Non-nil means the system uses terminfo rather than termcap. |
| 2612 | This variable can be used by terminal emulator packages."); | 2613 | This variable can be used by terminal emulator packages. */); |
| 2613 | #ifdef TERMINFO | 2614 | #ifdef TERMINFO |
| 2614 | system_uses_terminfo = 1; | 2615 | system_uses_terminfo = 1; |
| 2615 | #else | 2616 | #else |
| 2616 | system_uses_terminfo = 0; | 2617 | system_uses_terminfo = 0; |
| 2617 | #endif | 2618 | #endif |
| 2618 | 2619 | ||
| 2619 | DEFVAR_LISP ("ring-bell-function", &Vring_bell_function, | 2620 | DEFVAR_LISP ("ring-bell-function", &Vring_bell_function |
| 2620 | "Non-nil means call this function to ring the bell.\n\ | 2621 | /* Non-nil means call this function to ring the bell. |
| 2621 | The function should accept no arguments."); | 2622 | The function should accept no arguments. */); |
| 2622 | Vring_bell_function = Qnil; | 2623 | Vring_bell_function = Qnil; |
| 2623 | 2624 | ||
| 2624 | defsubr (&Stty_display_color_p); | 2625 | defsubr (&Stty_display_color_p); |