0

Is there a way to disable the way flyspell converts misspelled words into clickable links, as well as the background colour (pink, at least for my colour theme) it uses?

I find it confusing and unnecessary.

See here:

enter image description here

  • How about trying (setq flyspell-mouse-map nil). I have not tried it, but am trying to think of a way that does not involve modifying the placement of overlays in some of the internal functions of flyspell-mode. If that doesn't work, you may wish to consider modifying make-flyspell-overlay to remove the placement of faces (mouse-face) and keymaps (keymap) -- e.g., comment out: (overlay-put overlay 'mouse-face mouse-face) and (overlay-put overlay 'keymap flyspell-mouse-map) I have not tried that either. – lawlist Nov 15 '17 at 23:58
  • I tried with (setq flyspell-mouse-map nil), but it the misspelled words are still clickable links. – Manuel Uberti Nov 17 '17 at 7:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.