From: Stefan Monnier Date: Fri, 19 Apr 2002 15:17:37 +0000 (+0000) Subject: (flyspell-mode-map): Don't bind mouse-2. X-Git-Tag: emacs-pretest-21.2.91~296 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d3507f3c4796e9eda1d3aee5f4e3cd0a014b423;p=emacs.git (flyspell-mode-map): Don't bind mouse-2. It's bound via text-properties already. --- 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