diff options
| author | Chong Yidong | 2010-08-22 16:02:16 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-08-22 16:02:16 -0400 |
| commit | b0126eac41487b9bca5af5cbb2212ff5b2c58b80 (patch) | |
| tree | 680ba932d259776ebfdb6d424fa8f668e1001f7c /doc/lispref | |
| parent | b613941ba003bbf5024415ac4f8c2a0e12434751 (diff) | |
| parent | bc7d7ea63ba9d98b3ecc3b6decf4392a651dcbfb (diff) | |
| download | emacs-b0126eac41487b9bca5af5cbb2212ff5b2c58b80.tar.gz emacs-b0126eac41487b9bca5af5cbb2212ff5b2c58b80.zip | |
Merge changes from emacs-23 branch.
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 8 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 12 | ||||
| -rw-r--r-- | doc/lispref/objects.texi | 4 |
3 files changed, 19 insertions, 5 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 459bd925cf4..9c09410c849 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2010-08-22 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * modes.texi (Defining Minor Modes): Doc fix (Bug#6880). | ||
| 4 | |||
| 5 | 2010-08-22 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 7 | * objects.texi (Bool-Vector Type): Minor definition tweak (Bug#6878). | ||
| 8 | |||
| 1 | 2010-08-20 Eli Zaretskii <eliz@gnu.org> | 9 | 2010-08-20 Eli Zaretskii <eliz@gnu.org> |
| 2 | 10 | ||
| 3 | * commands.texi (Misc Events): Add cross-references to where | 11 | * commands.texi (Misc Events): Add cross-references to where |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 3953da59b93..12f16b67663 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -1411,14 +1411,20 @@ The string @var{lighter} says what to display in the mode line | |||
| 1411 | when the mode is enabled; if it is @code{nil}, the mode is not displayed | 1411 | when the mode is enabled; if it is @code{nil}, the mode is not displayed |
| 1412 | in the mode line. | 1412 | in the mode line. |
| 1413 | 1413 | ||
| 1414 | The optional argument @var{keymap} specifies the keymap for the minor mode. | 1414 | The optional argument @var{keymap} specifies the keymap for the minor |
| 1415 | It can be a variable name, whose value is the keymap, or it can be an alist | 1415 | mode. If non-@code{nil}, it should be a variable name (whose value is |
| 1416 | specifying bindings in this form: | 1416 | a keymap), a keymap, or an alist of the form |
| 1417 | 1417 | ||
| 1418 | @example | 1418 | @example |
| 1419 | (@var{key-sequence} . @var{definition}) | 1419 | (@var{key-sequence} . @var{definition}) |
| 1420 | @end example | 1420 | @end example |
| 1421 | 1421 | ||
| 1422 | @noindent | ||
| 1423 | where each @var{key-sequence} and @var{definition} are arguments | ||
| 1424 | suitable for passing to @code{define-key} (@pxref{Changing Key | ||
| 1425 | Bindings}). If @var{keymap} is a keymap or an alist, this also | ||
| 1426 | defines the variable @code{@var{mode}-map}. | ||
| 1427 | |||
| 1422 | The above three arguments @var{init-value}, @var{lighter}, and | 1428 | The above three arguments @var{init-value}, @var{lighter}, and |
| 1423 | @var{keymap} can be (partially) omitted when @var{keyword-args} are | 1429 | @var{keymap} can be (partially) omitted when @var{keyword-args} are |
| 1424 | used. The @var{keyword-args} consist of keywords followed by | 1430 | used. The @var{keyword-args} consist of keywords followed by |
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index 5c3ac13cdaf..c8ccb15a2d3 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi | |||
| @@ -1189,8 +1189,8 @@ Syntax tables (@pxref{Syntax Tables}). | |||
| 1189 | @node Bool-Vector Type | 1189 | @node Bool-Vector Type |
| 1190 | @subsection Bool-Vector Type | 1190 | @subsection Bool-Vector Type |
| 1191 | 1191 | ||
| 1192 | A @dfn{bool-vector} is a one-dimensional array of elements that | 1192 | A @dfn{bool-vector} is a one-dimensional array whose elements must |
| 1193 | must be @code{t} or @code{nil}. | 1193 | be @code{t} or @code{nil}. |
| 1194 | 1194 | ||
| 1195 | The printed representation of a bool-vector is like a string, except | 1195 | The printed representation of a bool-vector is like a string, except |
| 1196 | that it begins with @samp{#&} followed by the length. The string | 1196 | that it begins with @samp{#&} followed by the length. The string |