* 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
1 changed files with 5 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue