mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
; * lisp/help.el (help--analyze-key): Add comment.
This commit is contained in:
parent
ad27c4c663
commit
a20e013d56
@ -695,6 +695,10 @@ Returns a list of the form (BRIEF-DESC DEFN EVENT MOUSE-MSG)."
|
|||||||
(mouse-msg (if (or (memq 'click modifiers) (memq 'down modifiers)
|
(mouse-msg (if (or (memq 'click modifiers) (memq 'down modifiers)
|
||||||
(memq 'drag modifiers))
|
(memq 'drag modifiers))
|
||||||
" at that spot" ""))
|
" at that spot" ""))
|
||||||
|
;; Use mouse-set-point to handle the case when a menu item
|
||||||
|
;; 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, it defaults to window-point.
|
||||||
(defn (save-excursion (mouse-set-point event) (key-binding key t))))
|
(defn (save-excursion (mouse-set-point event) (key-binding key t))))
|
||||||
;; Handle the case where we faked an entry in "Select and Paste" menu.
|
;; Handle the case where we faked an entry in "Select and Paste" menu.
|
||||||
(when (and (eq defn nil)
|
(when (and (eq defn nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user