From 0d3507f3c4796e9eda1d3aee5f4e3cd0a014b423 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 19 Apr 2002 15:17:37 +0000 Subject: [PATCH] (flyspell-mode-map): Don't bind mouse-2. It's bound via text-properties already. --- lisp/textmodes/flyspell.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 19d2b99bcf7..ff21adebc3d 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -378,9 +378,7 @@ property of the major mode name.") (setq minor-mode-map-alist (cons (cons 'flyspell-mode flyspell-mode-map) minor-mode-map-alist))) - (define-key flyspell-mode-map "\M-\t" 'flyspell-auto-correct-word) - (define-key flyspell-mode-map [(mouse-2)] - (function flyspell-correct-word/local-keymap))) + (define-key flyspell-mode-map "\M-\t" 'flyspell-auto-correct-word)) ;; the name of the overlay property that defines the keymap -- 2.39.2