summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2021-08-27 09:24:07 +0300
committerJuri Linkov <juri@linkov.net>2021-08-27 09:24:07 +0300
commita573d6bd88afe9a60728f0b63a45f44a6ff98ce2 (patch)
tree10241766849ae5270b93794779b72d66c1939ada /lisp/emacs-lisp/comp.el
parent9c1bbad907575987054b8d81ac2d09bfabe6214b (diff)
downloademacs-a573d6bd88afe9a60728f0b63a45f44a6ff98ce2.tar.gz
emacs-a573d6bd88afe9a60728f0b63a45f44a6ff98ce2.tar.bz2
emacs-a573d6bd88afe9a60728f0b63a45f44a6ff98ce2.zip
Replace flyspell-use-mouse-3-for-menu with context-menu-mode (bug#50067)
* doc/emacs/fixit.texi (Spelling): Replace mentions of flyspell-use-mouse-3-for-menu with context-menu-mode. * lisp/mouse.el (context-menu-map): Use the function from the text property context-menu-function at mouse click event. * lisp/textmodes/flyspell.el (flyspell--set-use-mouse-3-for-menu): Remove function. (flyspell-use-mouse-3-for-menu): Remove defcustom added recently in 28.1. (flyspell-context-menu): New function. (flyspell-mode): Don't call flyspell--set-use-mouse-3-for-menu. (flyspell-mode-on): Replace flyspell-use-mouse-3-for-menu with context-menu-mode. (make-flyspell-overlay): When context-menu-mode is non-nil, put overlay context-menu-function with flyspell-context-menu instead of using keymap flyspell-mouse-map.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
0 files changed, 0 insertions, 0 deletions