summaryrefslogtreecommitdiff
path: root/lisp/net/eww.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/eww.el
parent7a69fe3bc993f2599dacf653b43e4cba72456ac1 (diff)
downloademacs-231a29f36333d10b7122bb9e25da4db8cb03b73d.tar.gz
emacs-231a29f36333d10b7122bb9e25da4db8cb03b73d.tar.bz2
emacs-231a29f36333d10b7122bb9e25da4db8cb03b73d.zip
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/eww.el')
-rw-r--r--lisp/net/eww.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 16a13bbaaee..28569eeeb10 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -1027,6 +1027,7 @@ the like."
map))
(defun eww-context-menu (menu click)
+ "Populate MENU with eww commands at CLICK."
(define-key menu [eww-separator] menu-bar-separator)
(let ((easy-menu (make-sparse-keymap "Eww")))
(easy-menu-define nil easy-menu nil