changeset 9864:0299d64cdd07

(print_help): Set help-mode in *Help* buffer.
author Karl Heuer <kwzh@gnu.org>
date Wed, 09 Nov 1994 06:04:46 +0000
parents f918fd077a9f
children 9ca8b94a9f07
files src/keyboard.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Wed Nov 09 05:56:23 1994 +0000
+++ b/src/keyboard.c	Wed Nov 09 06:04:46 1994 +0000
@@ -1917,7 +1917,11 @@
 print_help (object)
      Lisp_Object object;
 {
+  struct buffer *old = current_buffer;
   Fprinc (object, Qnil);
+  set_buffer_internal (XBUFFER (Vstandard_output));
+  call0 (intern ("help-mode"));
+  set_buffer_internal (old);
   return Qnil;
 }