summaryrefslogtreecommitdiff
path: root/doc/lispref/help.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lispref/help.texi')
-rw-r--r--doc/lispref/help.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi
index 026258f2472..31a4db31dc9 100644
--- a/doc/lispref/help.texi
+++ b/doc/lispref/help.texi
@@ -551,7 +551,7 @@ follows:
@smallexample
@group
-(define-key global-map (char-to-string help-char) 'help-command)
+(define-key global-map (string help-char) 'help-command)
(fset 'help-command help-map)
@end group
@end smallexample