Mercurial > emacs
comparison src/eval.c @ 687:e2b747dd6a6e
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 04 Jun 1992 06:43:29 +0000 |
parents | bd574e49bfac |
children | 86cb5db0b6c3 |
comparison
equal
deleted
inserted
replaced
686:bd3068742807 | 687:e2b747dd6a6e |
---|---|
518 "(defvar SYMBOL INITVALUE DOCSTRING): define SYMBOL as a variable.\n\ | 518 "(defvar SYMBOL INITVALUE DOCSTRING): define SYMBOL as a variable.\n\ |
519 You are not required to define a variable in order to use it,\n\ | 519 You are not required to define a variable in order to use it,\n\ |
520 but the definition can supply documentation and an initial value\n\ | 520 but the definition can supply documentation and an initial value\n\ |
521 in a way that tags can recognize.\n\n\ | 521 in a way that tags can recognize.\n\n\ |
522 INITVALUE is evaluated, and used to set SYMBOL, only if SYMBOL's value is void.\n\ | 522 INITVALUE is evaluated, and used to set SYMBOL, only if SYMBOL's value is void.\n\ |
523 If SYMBOL is buffer-local, its default value is initialized in this way.\n\ | 523 If SYMBOL is buffer-local, its default value is what is set;\n\ |
524 buffer-local values are not affected.\n\ | |
524 INITVALUE and DOCSTRING are optional.\n\ | 525 INITVALUE and DOCSTRING are optional.\n\ |
525 If DOCSTRING starts with *, this variable is identified as a user option.\n\ | 526 If DOCSTRING starts with *, this variable is identified as a user option.\n\ |
526 This means that M-x set-variable and M-x edit-options recognize it.\n\ | 527 This means that M-x set-variable and M-x edit-options recognize it.\n\ |
527 If INITVALUE is missing, SYMBOL's value is not set.") | 528 If INITVALUE is missing, SYMBOL's value is not set.") |
528 (args) | 529 (args) |
550 | 551 |
551 DEFUN ("defconst", Fdefconst, Sdefconst, 2, UNEVALLED, 0, | 552 DEFUN ("defconst", Fdefconst, Sdefconst, 2, UNEVALLED, 0, |
552 "(defconst SYMBOL INITVALUE DOCSTRING): define SYMBOL as a constant variable.\n\ | 553 "(defconst SYMBOL INITVALUE DOCSTRING): define SYMBOL as a constant variable.\n\ |
553 The intent is that programs do not change this value, but users may.\n\ | 554 The intent is that programs do not change this value, but users may.\n\ |
554 Always sets the value of SYMBOL to the result of evalling INITVALUE.\n\ | 555 Always sets the value of SYMBOL to the result of evalling INITVALUE.\n\ |
555 If SYMBOL is buffer-local, its default value is initialized in this way.\n\ | 556 If SYMBOL is buffer-local, its default value is what is set;\n\ |
557 buffer-local values are not affected.\n\ | |
556 DOCSTRING is optional.\n\ | 558 DOCSTRING is optional.\n\ |
557 If DOCSTRING starts with *, this variable is identified as a user option.\n\ | 559 If DOCSTRING starts with *, this variable is identified as a user option.\n\ |
558 This means that M-x set-variable and M-x edit-options recognize it.\n\n\ | 560 This means that M-x set-variable and M-x edit-options recognize it.\n\n\ |
559 Note: do not use `defconst' for user options in libraries that are not\n\ | 561 Note: do not use `defconst' for user options in libraries that are not\n\ |
560 normally loaded, since it is useful for users to be able to specify\n\ | 562 normally loaded, since it is useful for users to be able to specify\n\ |