emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/doc.c


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/src/doc.c
Date: Fri, 11 Nov 2005 10:36:36 -0500

Index: emacs/src/doc.c
diff -c emacs/src/doc.c:1.115 emacs/src/doc.c:1.116
*** emacs/src/doc.c:1.115       Fri Sep  9 11:55:09 2005
--- emacs/src/doc.c     Fri Nov 11 15:36:36 2005
***************
*** 735,749 ****
  DEFUN ("substitute-command-keys", Fsubstitute_command_keys,
         Ssubstitute_command_keys, 1, 1, 0,
         doc: /* Substitute key descriptions for command names in STRING.
! Return a new string which is STRING with substrings of the form \\=\\[COMMAND]
! replaced by either:  a keystroke sequence that will invoke COMMAND,
! or "M-x COMMAND" if COMMAND is not on any keys.
  Substrings of the form \\=\\{MAPVAR} are replaced by summaries
  \(made by describe-bindings) of the value of MAPVAR, taken as a keymap.
  Substrings of the form \\=\\<MAPVAR> specify to use the value of MAPVAR
  as the keymap for future \\=\\[COMMAND] substrings.
  \\=\\= quotes the following character and is discarded;
! thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ 
into the output.  */)
       (string)
       Lisp_Object string;
  {
--- 735,752 ----
  DEFUN ("substitute-command-keys", Fsubstitute_command_keys,
         Ssubstitute_command_keys, 1, 1, 0,
         doc: /* Substitute key descriptions for command names in STRING.
! Substrings of the form \\=\\[COMMAND] replaced by either: a keystroke
! sequence that will invoke COMMAND, or "M-x COMMAND" if COMMAND is not
! on any keys.
  Substrings of the form \\=\\{MAPVAR} are replaced by summaries
  \(made by describe-bindings) of the value of MAPVAR, taken as a keymap.
  Substrings of the form \\=\\<MAPVAR> specify to use the value of MAPVAR
  as the keymap for future \\=\\[COMMAND] substrings.
  \\=\\= quotes the following character and is discarded;
! thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ 
into the output.
! 
! Returns original STRING if no substitutions were made.  Othwerwise,
! a new string, without any text properties, is returned.  */)
       (string)
       Lisp_Object string;
  {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]