/[emacs]/emacs/src/doc.c
ViewVC logotype

Diff of /emacs/src/doc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.115 by kfstorm, Fri Sep 9 11:55:09 2005 UTC revision 1.116 by kfstorm, Fri Nov 11 15:36:36 2005 UTC
# Line 735  the same file name is found in the `doc- Line 735  the same file name is found in the `doc-
735  DEFUN ("substitute-command-keys", Fsubstitute_command_keys,  DEFUN ("substitute-command-keys", Fsubstitute_command_keys,
736         Ssubstitute_command_keys, 1, 1, 0,         Ssubstitute_command_keys, 1, 1, 0,
737         doc: /* Substitute key descriptions for command names in STRING.         doc: /* Substitute key descriptions for command names in STRING.
738  Return a new string which is STRING with substrings of the form \\=\\[COMMAND]  Substrings of the form \\=\\[COMMAND] replaced by either: a keystroke
739  replaced by either:  a keystroke sequence that will invoke COMMAND,  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.  on any keys.
741  Substrings of the form \\=\\{MAPVAR} are replaced by summaries  Substrings of the form \\=\\{MAPVAR} are replaced by summaries
742  \(made by describe-bindings) of the value of MAPVAR, taken as a keymap.  \(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  Substrings of the form \\=\\<MAPVAR> specify to use the value of MAPVAR
744  as the keymap for future \\=\\[COMMAND] substrings.  as the keymap for future \\=\\[COMMAND] substrings.
745  \\=\\= quotes the following character and is discarded;  \\=\\= quotes the following character and is discarded;
746  thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ into the output.  */)  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.  */)
750       (string)       (string)
751       Lisp_Object string;       Lisp_Object string;
752  {  {

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.116

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26