Mercurial > emacs
diff src/term.c @ 39914:91951fb5b9e5
Put doc strings in comments.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sun, 14 Oct 2001 10:36:01 +0000 |
parents | 0b986bb45526 |
children | eac4e9ae201c |
line wrap: on
line diff
--- a/src/term.c Sun Oct 14 10:28:45 2001 +0000 +++ b/src/term.c Sun Oct 14 10:36:01 2001 +0000 @@ -27,6 +27,7 @@ #include <string.h> #include "termchar.h" #include "termopts.h" +#define DOC_STRINGS_IN_COMMENTS #include "lisp.h" #include "charset.h" #include "coding.h" @@ -2175,8 +2176,8 @@ DEFUN ("tty-display-color-p", Ftty_display_color_p, Stty_display_color_p, 0, 1, 0, - "Return non-nil if TTY can display colors on FRAME.") - (frame) + /* Return non-nil if TTY can display colors on FRAME. */ + (frame)) Lisp_Object frame; { return TN_max_colors > 0 ? Qt : Qnil; @@ -2607,18 +2608,18 @@ void syms_of_term () { - DEFVAR_BOOL ("system-uses-terminfo", &system_uses_terminfo, - "Non-nil means the system uses terminfo rather than termcap.\n\ -This variable can be used by terminal emulator packages."); + DEFVAR_BOOL ("system-uses-terminfo", &system_uses_terminfo + /* Non-nil means the system uses terminfo rather than termcap. +This variable can be used by terminal emulator packages. */); #ifdef TERMINFO system_uses_terminfo = 1; #else system_uses_terminfo = 0; #endif - DEFVAR_LISP ("ring-bell-function", &Vring_bell_function, - "Non-nil means call this function to ring the bell.\n\ -The function should accept no arguments."); + DEFVAR_LISP ("ring-bell-function", &Vring_bell_function + /* Non-nil means call this function to ring the bell. +The function should accept no arguments. */); Vring_bell_function = Qnil; defsubr (&Stty_display_color_p);