I am working with a highly customized emacs configuration that is not built by me and it highlights all the words in the buffer that match the word under the cursor.
How to find the function that highlights all the words under the cursor?
After the key sequence forward-word, backward-word or down-mouse-1 the highlight occurs. There are no hooks set up for these key sequences.
It appears there is a small delay after the cursor move ends and the highlight occurs.
Are there any cursor or timer hooks that can be examined to find the function that highlights the words under the cursor?