comparison src/buffer.c @ 1985:666e3f26a8d6

* buffer.c (buffer-undo-list): Doc fix. * buffer.c (syms_of_buffer): Add the extra argument to the commented-out DEFVAR_PER_BUFFER for `mode-line-format', so make-docfile will find the docstring properly.
author Jim Blandy <jimb@redhat.com>
date Tue, 02 Mar 1993 08:09:42 +0000
parents 714df59790af
children 8b034dd5da14
comparison
equal deleted inserted replaced
1984:e0c7208bdafa 1985:666e3f26a8d6
1463 Qnil, 0); 1463 Qnil, 0);
1464 1464
1465 /* This doc string is too long for cpp; cpp dies if it isn't in a comment. 1465 /* This doc string is too long for cpp; cpp dies if it isn't in a comment.
1466 But make-docfile finds it! 1466 But make-docfile finds it!
1467 DEFVAR_PER_BUFFER ("mode-line-format", &current_buffer->mode_line_format, 1467 DEFVAR_PER_BUFFER ("mode-line-format", &current_buffer->mode_line_format,
1468 Qnil,
1468 "Template for displaying mode line for current buffer.\n\ 1469 "Template for displaying mode line for current buffer.\n\
1469 Each buffer has its own value of this variable.\n\ 1470 Each buffer has its own value of this variable.\n\
1470 Value may be a string, a symbol or a list or cons cell.\n\ 1471 Value may be a string, a symbol or a list or cons cell.\n\
1471 For a symbol, its value is used (but it is ignored if t or nil).\n\ 1472 For a symbol, its value is used (but it is ignored if t or nil).\n\
1472 A string appearing directly as the value of a symbol is processed verbatim\n\ 1473 A string appearing directly as the value of a symbol is processed verbatim\n\
1685 \n\ 1686 \n\
1686 An entry (nil PROP VAL BEG . END) indicates that a text property\n\ 1687 An entry (nil PROP VAL BEG . END) indicates that a text property\n\
1687 was modified between BEG and END. PROP is the property name,\n\ 1688 was modified between BEG and END. PROP is the property name,\n\
1688 and VAL is the old value.\n\ 1689 and VAL is the old value.\n\
1689 \n\ 1690 \n\
1691 An entry of the form POSITION indicates that point was at the buffer\n\
1692 location given by the integer. Undoing an entry of this form places\n\
1693 point at POSITION.\n\
1694 \n\
1690 nil marks undo boundaries. The undo command treats the changes\n\ 1695 nil marks undo boundaries. The undo command treats the changes\n\
1691 between two undo boundaries as a single step to be undone.\n\ 1696 between two undo boundaries as a single step to be undone.\n\
1692 \n\ 1697 \n\
1693 If the value of the variable is t, undo information is not recorded.\n\ 1698 If the value of the variable is t, undo information is not recorded.");
1694 ");
1695 1699
1696 defsubr (&Sbuffer_list); 1700 defsubr (&Sbuffer_list);
1697 defsubr (&Sget_buffer); 1701 defsubr (&Sget_buffer);
1698 defsubr (&Sget_file_buffer); 1702 defsubr (&Sget_file_buffer);
1699 defsubr (&Sget_buffer_create); 1703 defsubr (&Sget_buffer_create);