diff options
| author | Karl Heuer | 1994-11-09 06:04:46 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-11-09 06:04:46 +0000 |
| commit | 622de3e97ca7b36b35282bb62ce9795d10fea957 (patch) | |
| tree | f7eea7c52a5fa82cd932bba808fd0920d4efb789 /src | |
| parent | 36cd82fe63bb69a4f929cc9bc1d40344cb3c5de1 (diff) | |
| download | emacs-622de3e97ca7b36b35282bb62ce9795d10fea957.tar.gz emacs-622de3e97ca7b36b35282bb62ce9795d10fea957.zip | |
(print_help): Set help-mode in *Help* buffer.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 4de3e805817..80801cbd169 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1917,7 +1917,11 @@ Lisp_Object | |||
| 1917 | print_help (object) | 1917 | print_help (object) |
| 1918 | Lisp_Object object; | 1918 | Lisp_Object object; |
| 1919 | { | 1919 | { |
| 1920 | struct buffer *old = current_buffer; | ||
| 1920 | Fprinc (object, Qnil); | 1921 | Fprinc (object, Qnil); |
| 1922 | set_buffer_internal (XBUFFER (Vstandard_output)); | ||
| 1923 | call0 (intern ("help-mode")); | ||
| 1924 | set_buffer_internal (old); | ||
| 1921 | return Qnil; | 1925 | return Qnil; |
| 1922 | } | 1926 | } |
| 1923 | 1927 | ||