aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-04-13 17:07:03 +0000
committerRichard M. Stallman1995-04-13 17:07:03 +0000
commit8902ae9e18aac6274e2822ea2c4b65de9b103c4a (patch)
tree64ae379c396bf9808debbded2f14cfea07741bfe
parent7a804c76c41ab524a16d4feb71fecd5880270742 (diff)
downloademacs-8902ae9e18aac6274e2822ea2c4b65de9b103c4a.tar.gz
emacs-8902ae9e18aac6274e2822ea2c4b65de9b103c4a.zip
(make-help-screen): Explicitly translate key thru function-key-map.
-rw-r--r--lisp/help-macro.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/lisp/help-macro.el b/lisp/help-macro.el
index 886eaa52b7a..bd129a8aed8 100644
--- a/lisp/help-macro.el
+++ b/lisp/help-macro.el
@@ -104,9 +104,13 @@ and then returns."
104 (setcdr local-map (, helped-map)) 104 (setcdr local-map (, helped-map))
105 (define-key local-map [t] 'undefined) 105 (define-key local-map [t] 'undefined)
106 (if three-step-help 106 (if three-step-help
107 (setq key (let ((overriding-local-map local-map)) 107 (progn
108 (read-key-sequence nil)) 108 (setq key (let ((overriding-local-map local-map))
109 char (aref key 0)) 109 (read-key-sequence nil)))
110 ;; Make the HELP key translate to C-h.
111 (if (lookup-key function-key-map key)
112 (setq key (lookup-key function-key-map key)))
113 (setq char (aref key 0)))
110 (setq char ??)) 114 (setq char ??))
111 (if (or (eq char ??) (eq char help-char)) 115 (if (or (eq char ??) (eq char help-char))
112 (progn 116 (progn