summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/help-macro.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/help-macro.el b/lisp/help-macro.el
index 1e70992e296..1053b4161b6 100644
--- a/lisp/help-macro.el
+++ b/lisp/help-macro.el
@@ -150,9 +150,7 @@ and then returns."
(setq unread-command-events
(cons char unread-command-events)
config nil)
- (let ((defn
- (let ((overriding-local-map local-map))
- (key-binding key))))
+ (let ((defn (lookup-key local-map key)))
(if defn
(progn
(if config