diff options
| author | Lars Ingebrigtsen | 2016-04-30 00:54:13 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-04-30 00:54:13 +0200 |
| commit | 6b769c81d024f7eeb90b167e7df6f87d859614d4 (patch) | |
| tree | 74a5dcdb33f79eb2646cdf38625d56c9d34781b0 /src | |
| parent | d7a5b5be9a5869bcd233434ec3103dd1976d7df7 (diff) | |
| download | emacs-6b769c81d024f7eeb90b167e7df6f87d859614d4.tar.gz emacs-6b769c81d024f7eeb90b167e7df6f87d859614d4.zip | |
Doc fix
* src/keymap.c (Fdefine_prefix_command): Clarify doc string
slightly (bug#18092).
Diffstat (limited to 'src')
| -rw-r--r-- | src/keymap.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/keymap.c b/src/keymap.c index eef1dcd39e5..44335aded87 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1737,10 +1737,12 @@ bindings; see the description of `lookup-key' for more details about this. */) | |||
| 1737 | 1737 | ||
| 1738 | DEFUN ("define-prefix-command", Fdefine_prefix_command, Sdefine_prefix_command, 1, 3, 0, | 1738 | DEFUN ("define-prefix-command", Fdefine_prefix_command, Sdefine_prefix_command, 1, 3, 0, |
| 1739 | doc: /* Define COMMAND as a prefix command. COMMAND should be a symbol. | 1739 | doc: /* Define COMMAND as a prefix command. COMMAND should be a symbol. |
| 1740 | A new sparse keymap is stored as COMMAND's function definition and its value. | 1740 | A new sparse keymap is stored as COMMAND's function definition and its |
| 1741 | If a second optional argument MAPVAR is given, the map is stored as | 1741 | value. |
| 1742 | its value instead of as COMMAND's value; but COMMAND is still defined | 1742 | This prepares COMMAND for use as a prefix key's binding. |
| 1743 | as a function. | 1743 | If a second optional argument MAPVAR is given, it should be a symbol. |
| 1744 | The map is then stored as MAPVAR's value instead of as COMMAND's | ||
| 1745 | value; but COMMAND is still defined as a function. | ||
| 1744 | The third optional argument NAME, if given, supplies a menu name | 1746 | The third optional argument NAME, if given, supplies a menu name |
| 1745 | string for the map. This is required to use the keymap as a menu. | 1747 | string for the map. This is required to use the keymap as a menu. |
| 1746 | This function returns COMMAND. */) | 1748 | This function returns COMMAND. */) |