Commit f863868c authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

Clarify that \= only quotes the next character

parent 3aa5f34b
2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org> 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
* help.texi (Keys in Documentation): Clarify that \= only quotes
the next character, and doesn't affect longer sequences in
particular (bug#8935).
* debugging.texi (Using Debugger): Mention * debugging.texi (Using Debugger): Mention
@code{eval-expression-debug-on-error} (bug#8549). @code{eval-expression-debug-on-error} (bug#8549).
......
...@@ -324,9 +324,8 @@ specifies @var{mapvar}'s value as the keymap for any following ...@@ -324,9 +324,8 @@ specifies @var{mapvar}'s value as the keymap for any following
@samp{\[@var{command}]} sequences in this documentation string. @samp{\[@var{command}]} sequences in this documentation string.
@item \= @item \=
quotes the following character and is discarded; thus, @samp{\=\[} puts quotes the following character and is discarded; thus, @samp{\=\} puts
@samp{\[} into the output, and @samp{\=\=} puts @samp{\=} into the @samp{\} into the output.
output.
@end table @end table
@strong{Please note:} Each @samp{\} must be doubled when written in a @strong{Please note:} Each @samp{\} must be doubled when written in a
......
2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org> 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
* doc.c (Fsubstitute_command_keys): Clarify that \= really only
quotes the next character, and doesn't affect other longer
sequences (bug#8935).
* lread.c (syms_of_lread): Clarify that is isn't only * lread.c (syms_of_lread): Clarify that is isn't only
`eval-buffer' and `eval-defun' that's affected by `eval-buffer' and `eval-defun' that's affected by
`lexical-binding' (bug#8460). `lexical-binding' (bug#8460).
......
...@@ -702,8 +702,8 @@ Substrings of the form \\=\\{MAPVAR} are replaced by summaries ...@@ -702,8 +702,8 @@ Substrings of the form \\=\\{MAPVAR} are replaced by summaries
\(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.
Substrings of the form \\=\\<MAPVAR> specify to use the value of MAPVAR Substrings of the form \\=\\<MAPVAR> specify to use the value of MAPVAR
as the keymap for future \\=\\[COMMAND] substrings. as the keymap for future \\=\\[COMMAND] substrings.
\\=\\= quotes the following character and is discarded; \\=\\= quotes the following character and is discarded.
thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ into the output. In particular, \\=\\=\\ puts \\ into the output.
Returns original STRING if no substitutions were made. Otherwise, Returns original STRING if no substitutions were made. Otherwise,
a new string, without any text properties, is returned. */) a new string, without any text properties, is returned. */)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment