changeset 6078:81290a55365b

(make-help-screen): Initialize help-screen before changing the keymap.
author Karl Heuer <kwzh@gnu.org>
date Thu, 24 Feb 1994 23:19:59 +0000
parents 7c17887a0daf
children 6617a69cece1
files lisp/help-macro.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-macro.el	Thu Feb 24 22:37:49 1994 +0000
+++ b/lisp/help-macro.el	Thu Feb 24 23:19:59 1994 +0000
@@ -93,14 +93,14 @@
 		  (substitute-command-keys (, help-line))))
 	     (if three-step-help
 		 (message line-prompt))
-	     (let* ((overriding-local-map (make-sparse-keymap))
+	     (let* ((help-screen (documentation (quote (, fname))))
+		    (overriding-local-map (make-sparse-keymap))
 		    (minor-mode-map-alist nil)
-		    config key char help-screen)
+		    config key char)
 	       (unwind-protect
 		   (progn
 		     (setcdr overriding-local-map (, helped-map))
 		     (define-key overriding-local-map [t] 'undefined)
-		     (setq help-screen (documentation (quote (, fname))))
 		     (if three-step-help
 			 (setq key (read-key-sequence nil)
 			       char (aref key 0))