From 353c87f6ff3c0834e521563f8eefa75c0b10e388 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 30 May 2012 22:08:58 +0800 Subject: * keymap.c (describe_map_tree): Revert 2011-07-07 change. * doc.c (Fsubstitute_command_keys): Doc fix. Fixes: debbugs:1169 --- src/keymap.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/keymap.c') 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; -- cgit v1.2.1