]> git.eshelyaron.com Git - emacs.git/commit
Move context-menu selection items Defun/List/Symbol to prog-mode (bug#9054)
authorJuri Linkov <juri@linkov.net>
Sun, 3 Oct 2021 17:35:49 +0000 (20:35 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 3 Oct 2021 17:35:49 +0000 (20:35 +0300)
commit121a5abeaee85e7955786d838f07103ce074a63b
tree40d0ab03bbf75d263e32b96f8f9b4c2590a41a58
parent0c341e6e84101251c0e40300519869f24415600d
Move context-menu selection items Defun/List/Symbol to prog-mode (bug#9054)

* lisp/mouse.el (context-menu-functions):
Add context-menu-middle-separator to choices.
(context-menu-region): Move Defun/List/Symbol selection items
to prog-context-menu.

* lisp/progmodes/prog-mode.el (prog-context-menu):
Move Defun/List/Symbol selection items from context-menu-region.
Include text-mode select menu only in strings and comments.

* lisp/textmodes/text-mode.el (text-mode-menu): New function.
(text-mode): Add text-mode-menu to context-menu-functions.
lisp/mouse.el
lisp/progmodes/prog-mode.el
lisp/textmodes/text-mode.el