summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2001-10-17 03:16:12 +0000
committerMiles Bader <miles@gnu.org>2001-10-17 03:16:12 +0000
commit7ee72033eb52c5891e39c80b6db21e491ce0b187 (patch)
tree5d7f0e7a7efbf8ada6531247701ba53d6c70579d /src/term.c
parent015a8883e056cd23d926a45304b63880b7a99063 (diff)
downloademacs-7ee72033eb52c5891e39c80b6db21e491ce0b187.tar.gz
Change doc-string comments to `new style' [w/`doc:' keyword].
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/term.c b/src/term.c
index 1ef1f2da929..65d0c8cedac 100644
--- a/src/term.c
+++ b/src/term.c
@@ -25,9 +25,9 @@ Boston, MA 02111-1307, USA. */
#include <stdio.h>
#include <ctype.h>
#include <string.h>
+
#include "termchar.h"
#include "termopts.h"
-#define DOC_STRINGS_IN_COMMENTS
#include "lisp.h"
#include "charset.h"
#include "coding.h"
@@ -2176,8 +2176,8 @@ turn_off_face (f, face_id)
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))
+ doc: /* Return non-nil if TTY can display colors on FRAME. */)
+ (frame)
Lisp_Object frame;
{
return TN_max_colors > 0 ? Qt : Qnil;
@@ -2608,8 +2608,8 @@ fatal (str, arg1, arg2)
void
syms_of_term ()
{
- DEFVAR_BOOL ("system-uses-terminfo", &system_uses_terminfo
- /* Non-nil means the system uses terminfo rather than termcap.
+ DEFVAR_BOOL ("system-uses-terminfo", &system_uses_terminfo,
+ doc: /* 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;
@@ -2617,8 +2617,8 @@ This variable can be used by terminal emulator packages. */);
system_uses_terminfo = 0;
#endif
- DEFVAR_LISP ("ring-bell-function", &Vring_bell_function
- /* Non-nil means call this function to ring the bell.
+ DEFVAR_LISP ("ring-bell-function", &Vring_bell_function,
+ doc: /* Non-nil means call this function to ring the bell.
The function should accept no arguments. */);
Vring_bell_function = Qnil;