summaryrefslogtreecommitdiff
path: root/lisp/net/dictionary.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2021-09-15 19:00:56 +0300
committerJuri Linkov <juri@linkov.net>2021-09-15 19:00:56 +0300
commit231a29f36333d10b7122bb9e25da4db8cb03b73d (patch)
tree8eeeb0a5d33496fa24c616f545b2dbea4ce7411a /lisp/net/dictionary.el
parent7a69fe3bc993f2599dacf653b43e4cba72456ac1 (diff)
downloademacs-231a29f36333d10b7122bb9e25da4db8cb03b73d.tar.gz
Add docstrings to context menu functions, and add middle-separator
* lisp/mouse.el (context-menu-functions): Add context-menu-middle-separator to default values. (context-menu-middle-separator): New function. * lisp/replace.el (occur-context-menu): Use middle-separator. * lisp/progmodes/elisp-mode.el (elisp-context-menu): * lisp/progmodes/prog-mode.el (prog-context-menu): Use middle-separator and reorder menu items correspondingly.
Diffstat (limited to 'lisp/net/dictionary.el')
-rw-r--r--lisp/net/dictionary.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el
index 9353b4d3759..4947caba699 100644
--- a/lisp/net/dictionary.el
+++ b/lisp/net/dictionary.el
@@ -1376,7 +1376,7 @@ any buffer where (dictionary-tooltip-mode 1) has been called."
(dictionary-search word)))
(defun context-menu-dictionary (menu click)
- "Dictionary context menu."
+ "Populate MENU with dictionary commands at CLICK."
(when (thing-at-mouse click 'word)
(define-key menu [dictionary-separator] menu-bar-separator)
(define-key menu [dictionary-search-word-at-mouse]