diff options
| author | Karoly Lorentey | 2005-11-18 13:13:34 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-11-18 13:13:34 +0000 |
| commit | bffa514a8b8c947c655b463e8073e8e5ac061bc7 (patch) | |
| tree | 0c51140f31c86667569ab1ddba534a16152cd13d /src/doc.c | |
| parent | f5100f05486a36a443aa021b1a418e4b55988571 (diff) | |
| parent | 1135363e9a6fd149e8f95bfa76421549697a0df0 (diff) | |
| download | emacs-bffa514a8b8c947c655b463e8073e8e5ac061bc7.tar.gz emacs-bffa514a8b8c947c655b463e8073e8e5ac061bc7.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 152-156, 642-654)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-642
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-643
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-644
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-645
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-646
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-647
lisp/gnus/ChangeLog: Remove duplicate entry
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-648
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-649
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-650
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-651
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-652
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-653
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-654
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-152
Update from CVS: lisp/mml.el (mml-preview): Doc fix.
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-153
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-154
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-155
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-156
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-440
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 11 |
1 files changed, 7 insertions, 4 deletions
| @@ -735,15 +735,18 @@ the same file name is found in the `doc-directory'. */) | |||
| 735 | DEFUN ("substitute-command-keys", Fsubstitute_command_keys, | 735 | DEFUN ("substitute-command-keys", Fsubstitute_command_keys, |
| 736 | Ssubstitute_command_keys, 1, 1, 0, | 736 | Ssubstitute_command_keys, 1, 1, 0, |
| 737 | doc: /* Substitute key descriptions for command names in STRING. | 737 | doc: /* Substitute key descriptions for command names in STRING. |
| 738 | Return a new string which is STRING with substrings of the form \\=\\[COMMAND] | 738 | Substrings of the form \\=\\[COMMAND] replaced by either: a keystroke |
| 739 | replaced by either: a keystroke sequence that will invoke COMMAND, | 739 | sequence that will invoke COMMAND, or "M-x COMMAND" if COMMAND is not |
| 740 | or "M-x COMMAND" if COMMAND is not on any keys. | 740 | on any keys. |
| 741 | Substrings of the form \\=\\{MAPVAR} are replaced by summaries | 741 | Substrings of the form \\=\\{MAPVAR} are replaced by summaries |
| 742 | \(made by describe-bindings) of the value of MAPVAR, taken as a keymap. | 742 | \(made by describe-bindings) of the value of MAPVAR, taken as a keymap. |
| 743 | Substrings of the form \\=\\<MAPVAR> specify to use the value of MAPVAR | 743 | Substrings of the form \\=\\<MAPVAR> specify to use the value of MAPVAR |
| 744 | as the keymap for future \\=\\[COMMAND] substrings. | 744 | as the keymap for future \\=\\[COMMAND] substrings. |
| 745 | \\=\\= quotes the following character and is discarded; | 745 | \\=\\= quotes the following character and is discarded; |
| 746 | thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ into the output. */) | 746 | thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ into the output. |
| 747 | |||
| 748 | Returns original STRING if no substitutions were made. Othwerwise, | ||
| 749 | a new string, without any text properties, is returned. */) | ||
| 747 | (string) | 750 | (string) |
| 748 | Lisp_Object string; | 751 | Lisp_Object string; |
| 749 | { | 752 | { |