diff options
author | Chong Yidong <cyd@gnu.org> | 2012-05-30 22:08:58 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-05-30 22:08:58 +0800 |
commit | 353c87f6ff3c0834e521563f8eefa75c0b10e388 (patch) | |
tree | 12b43f4dabd1f54c0c3c08fee94b45556e3e0c32 /src/keymap.c | |
parent | 0652336413775df89b051f604278c4e9e5ce2784 (diff) | |
download | emacs-353c87f6ff3c0834e521563f8eefa75c0b10e388.tar.gz |
* keymap.c (describe_map_tree): Revert 2011-07-07 change.
* doc.c (Fsubstitute_command_keys): Doc fix.
Fixes: debbugs:1169
Diffstat (limited to 'src/keymap.c')
-rw-r--r-- | src/keymap.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/keymap.c b/src/keymap.c index 9f82175edc0..73b62f9d4bb 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -2978,9 +2978,9 @@ You type Translation\n\ If MENTION_SHADOW is nonzero, then when something is shadowed by SHADOW, don't omit it; instead, mention it but say it is shadowed. - Return whether something was inserted or not. */ + Any inserted text ends in two newlines (used by `help-make-xrefs'). */ -int +void describe_map_tree (Lisp_Object startmap, int partial, Lisp_Object shadow, Lisp_Object prefix, const char *title, int nomenu, int transl, int always_title, int mention_shadow) @@ -3090,8 +3090,10 @@ key binding\n\ skip: ; } + if (something) + insert_string ("\n"); + UNGCPRO; - return something; } static int previous_description_column; |