mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-06 20:49:33 +00:00
* lisp/net/dictionary.el (context-menu-dictionary): Move menu item down.
Place the dictionary menu item after middle-separator (bug#50552).
This commit is contained in:
parent
bb209cd5ab
commit
55dadbc57e
@ -1382,10 +1382,12 @@ When you add this function to `context-menu-functions',
|
||||
the context menu will contain an item that searches
|
||||
the word at mouse click."
|
||||
(when (thing-at-mouse click 'word)
|
||||
(define-key menu [dictionary-separator] menu-bar-separator)
|
||||
(define-key menu [dictionary-search-word-at-mouse]
|
||||
(define-key-after menu [dictionary-separator] menu-bar-separator
|
||||
'middle-separator)
|
||||
(define-key-after menu [dictionary-search-word-at-mouse]
|
||||
'(menu-item "Dictionary Search" dictionary-search-word-at-mouse
|
||||
:help "Search the word at mouse click in dictionary")))
|
||||
:help "Search the word at mouse click in dictionary")
|
||||
'dictionary-separator))
|
||||
menu)
|
||||
|
||||
(provide 'dictionary)
|
||||
|
Loading…
x
Reference in New Issue
Block a user