summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-15 16:31:14 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-15 16:31:14 +0200
commitf863868c450935385e5483c2e170fa7eb5799327 (patch)
tree136e22af7afe6df9ff64d7daf0258948136e6ed5 /src
parent3aa5f34b9ba4b34132ae8f971c5820175f868489 (diff)
downloademacs-f863868c450935385e5483c2e170fa7eb5799327.tar.gz
Clarify that \= only quotes the next character
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/doc.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8ef3efa8a52..75de3e44123 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
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
`eval-buffer' and `eval-defun' that's affected by
`lexical-binding' (bug#8460).
diff --git a/src/doc.c b/src/doc.c
index 69646f5af51..5a8dc3ce37c 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -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.
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.
+\\=\\= quotes the following character and is discarded.
+In particular, \\=\\=\\ puts \\ into the output.
Returns original STRING if no substitutions were made. Otherwise,
a new string, without any text properties, is returned. */)