projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3713183
)
Revert "Fix help--analyze-key problem when not called from menu"
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 13 Sep 2022 16:25:32 +0000
(18:25 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 13 Sep 2022 16:26:11 +0000
(18:26 +0200)
This reverts commit
7e374b96635ce70f574fba351defc765e9a52da9
.
This should not be needed -- perhaps it was triggered by
an ephemeral code change in my running Emacs.
lisp/help.el
patch
|
blob
|
history
diff --git
a/lisp/help.el
b/lisp/help.el
index a95bbaa4ae25fe47d41d4fa22e1418a4255d5199..92b87cf7999a28177208cd8e15c946e1591e296f 100644
(file)
--- a/
lisp/help.el
+++ b/
lisp/help.el
@@
-725,8
+725,7
@@
in the selected window."
;; is selected from the context menu that should describe KEY
;; at the position of mouse click that opened the context menu.
;; When no mouse was involved, don't use `posn-set-point'.
- (defn (if (or buffer
- (not (consp (event-end event))))
+ (defn (if buffer
(key-binding key t)
(save-excursion (posn-set-point (event-end event))
(key-binding key t)))))