]> git.eshelyaron.com Git - emacs.git/commitdiff
(flyspell-mode-map): Don't bind mouse-2.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 19 Apr 2002 15:17:37 +0000 (15:17 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 19 Apr 2002 15:17:37 +0000 (15:17 +0000)
It's bound via text-properties already.

lisp/textmodes/flyspell.el

index 19d2b99bcf73ef15c008371dc27851d55c540ab6..ff21adebc3dedc064da938027556d029d2746f65 100644 (file)
@@ -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