Revert "Fix help--analyze-key problem when not called from menu"
This reverts commit 7e374b9663
.
This should not be needed -- perhaps it was triggered by
an ephemeral code change in my running Emacs.
This commit is contained in:
parent
3713183a3d
commit
aed39a518d
1 changed files with 1 additions and 2 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue